From 91ae08e6117e874468fd361142a896bbedbcf5b9 Mon Sep 17 00:00:00 2001 From: jaydee Date: Wed, 13 Mar 2024 09:51:16 +0100 Subject: [PATCH] flatpak --- playbooks/sync_container_data.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/sync_container_data.yaml b/playbooks/sync_container_data.yaml index 870747e..1e4f316 100644 --- a/playbooks/sync_container_data.yaml +++ b/playbooks/sync_container_data.yaml @@ -1,9 +1,9 @@ - name: Changing permission - ansible.builtin.shell: 'chown -R admin. /share/docker_data/' + ansible.builtin.shell: 'chown -R root. /share/docker_data/' become: true when: inventory_hostname in groups['raspberry'] or inventory_hostname in groups['raspberrypi5'] - name: Syncing all - #ansible.builtin.shell: 'rsync -avh --delete /share/docker_data/{mailu2,ha,gitlab,semaphore,webhub,nginx,heimdall} admin@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} admin@192.168.77.238:/share/docker_data/ --exclude="home-assistant.log*" --exclude="gitlab/logs/*"' + 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/*"' #ansible.builtin.shell: 'ls -la' when: inventory_hostname in groups['nas'] \ No newline at end of file