diff --git a/playbooks/sync_mailu2_data.yaml b/playbooks/sync_mailu2_data.yaml index cf665e4..af3fd94 100644 --- a/playbooks/sync_mailu2_data.yaml +++ b/playbooks/sync_mailu2_data.yaml @@ -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'] || inventory_hostname in groups['raspberrypi5'] + when: inventory_hostname in groups['raspberry'] or 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']