From 0c42381c5c5dfe7584e82e236f2b6f782624a3ae Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 5 Dec 2023 18:04:13 +0100 Subject: [PATCH] 111 --- playbooks/sync_mailu2_data.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/sync_mailu2_data.yaml b/playbooks/sync_mailu2_data.yaml index cb29826..cf665e4 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'] + 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']