summaryrefslogtreecommitdiff
path: root/playbooks/roles/silverbullet/tasks
diff options
context:
space:
mode:
authorElizabeth Hunt <me@liz.coffee>2025-04-06 11:29:24 -0700
committerElizabeth Hunt <me@liz.coffee>2025-04-06 11:29:24 -0700
commitb7e54ba5fa27ed77d00b146547653508d9952812 (patch)
treefb95569994eee86f3acba745bf5c7039d151ed1e /playbooks/roles/silverbullet/tasks
parent5c341236ccc69cced155d84b3e227a5c7a1f34d1 (diff)
downloadinfra-b7e54ba5fa27ed77d00b146547653508d9952812.tar.gz
infra-b7e54ba5fa27ed77d00b146547653508d9952812.zip
kanban and silverbullet
Diffstat (limited to 'playbooks/roles/silverbullet/tasks')
-rw-r--r--playbooks/roles/silverbullet/tasks/main.yml19
1 files changed, 19 insertions, 0 deletions
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"