From 8f3a51026ac713e302c4dcf7807a14f6dbf2c423 Mon Sep 17 00:00:00 2001 From: jaydee Date: Mon, 15 Apr 2024 07:54:08 +0200 Subject: [PATCH] remove raspberry host --- playbooks/sync_container_data.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/sync_container_data.yaml b/playbooks/sync_container_data.yaml index 1e4f316..757923a 100644 --- a/playbooks/sync_container_data.yaml +++ b/playbooks/sync_container_data.yaml @@ -1,7 +1,7 @@ - name: Changing permission ansible.builtin.shell: 'chown -R root. /share/docker_data/' become: true - when: inventory_hostname in groups['raspberry'] or inventory_hostname in groups['raspberrypi5'] + when: inventory_hostname in groups['raspberrypi5'] - name: Syncing all ansible.builtin.shell: 'rsync -avh --delete /share/docker_data/{mailu2,ha,gitlab,semaphore,webhub,nginx,heimdall} root@192.168.77.238:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"' #ansible.builtin.shell: 'rsync -avh --delete /share/docker_data/{mailu2,webhub,nginx,heimdall} root@192.168.77.238:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"'