This commit is contained in:
jaydee 2023-12-05 18:04:13 +01:00
parent 6ef97997fa
commit 0c42381c5c

View File

@ -5,7 +5,7 @@
- name: Syncing mailu
ansible.builtin.shell: 'chown -R admin. /share/docker_data/mailu2'
become: true
when: inventory_hostname in groups['raspberry']
when: inventory_hostname in groups['raspberry'] || inventory_hostname in groups['raspberrypi5']
- name: Syncing mailu
ansible.builtin.shell: 'rsync -ra /share/docker_data/mailu2/* admin@192.168.77.246:/share/docker_data/mailu2'
when: inventory_hostname in groups['nas']