diff --git a/playbooks/sync_all.yaml b/playbooks/sync_all.yaml index 0923d8d..e1e62ae 100644 --- a/playbooks/sync_all.yaml +++ b/playbooks/sync_all.yaml @@ -12,6 +12,11 @@ # - include_tasks: sync_container_data.yaml # name: Sync Container Data + - 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,ha,gitlab} 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'] - include_tasks: reconfigure_nginx.yaml name: Reconfigure nginx proxy manager loop: