ansible/playbooks/sync_mailu2.yaml
2023-10-23 11:29:07 +02:00

12 lines
301 B
YAML

- hosts: containers
name: Stop mailu
ignore_unreachable: false
tasks:
- name: fix permissions
file:
path: /share/docker_data/mailu2/
owner: admin
group: administrators
recurse: yes
become: true
when: inventory_hostname in groups['raspberry']