From b7e54ba5fa27ed77d00b146547653508d9952812 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 6 Apr 2025 11:29:24 -0700 Subject: kanban and silverbullet --- playbooks/roles/silverbullet/tasks/main.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 playbooks/roles/silverbullet/tasks/main.yml (limited to 'playbooks/roles/silverbullet/tasks') diff --git a/playbooks/roles/silverbullet/tasks/main.yml b/playbooks/roles/silverbullet/tasks/main.yml new file mode 100644 index 0000000..2b66f61 --- /dev/null +++ b/playbooks/roles/silverbullet/tasks/main.yml @@ -0,0 +1,19 @@ +--- + +- name: Build silverbullet compose dirs + ansible.builtin.file: + state: directory + dest: '{{ silverbullet_base }}/{{ item.path }}' + with_filetree: '../templates' + when: item.state == 'directory' + +- name: Build silverbullet compose files + ansible.builtin.template: + src: '{{ item.src }}' + dest: '{{ silverbullet_base }}/{{ item.path }}' + with_filetree: '../templates' + when: item.state == 'file' + +- name: Deploy silverbullet stack + ansible.builtin.command: + cmd: "docker stack deploy -c {{ silverbullet_base }}/stacks/docker-compose.yml silverbullet" -- cgit v1.2.3-70-g09d2