Files
ansible-docker/roles/wekan/tasks/main.yml
2025-02-15 11:43:16 +02:00

13 lines
353 B
YAML

---
- 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
mode: 0755