blob: 3d1efb8898b08256961c3a45d91924e4d1f0414f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
---
- name: Build kanboard compose dirs
ansible.builtin.file:
state: directory
dest: '{{ kanboard_base }}/{{ item.path }}'
with_filetree: '../templates'
when: item.state == 'directory'
- name: Build kanboard compose files
ansible.builtin.template:
src: '{{ item.src }}'
dest: '{{ kanboard_base }}/{{ item.path }}'
with_filetree: '../templates'
when: item.state == 'file'
- name: Deploy kanboard stack
ansible.builtin.command:
cmd: "docker stack deploy -c {{ kanboard_base }}/stacks/docker-compose.yml kanboard"
|