forked from uumas/ansible-docker
Add WeKan
This commit is contained in:
12
roles/wekan/tasks/main.yml
Normal file
12
roles/wekan/tasks/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
|
||||
- name: Get wekan data volume path from container creation output
|
||||
set_fact:
|
||||
wekan_data_volume: "{{ container_out.container.Mounts | selectattr('Destination', 'equalto', '/data') | join }}"
|
||||
|
||||
- name: Set wekan data volume owner
|
||||
file:
|
||||
path: "{{ wekan_data_volume.Source }}"
|
||||
state: directory
|
||||
owner: 999
|
||||
group: 999
|
||||
Reference in New Issue
Block a user