From b0495f399a3a72ed0992f36d7e48332d5f002dde Mon Sep 17 00:00:00 2001 From: jaydee Date: Wed, 6 Mar 2024 10:38:11 +0100 Subject: [PATCH] flatpak --- playbooks/sync_all.yaml | 22 +++++++++------------- 1 file changed, 9 insertions(+), 13 deletions(-) diff --git a/playbooks/sync_all.yaml b/playbooks/sync_all.yaml index e1e62ae..21c13b7 100644 --- a/playbooks/sync_all.yaml +++ b/playbooks/sync_all.yaml @@ -3,20 +3,16 @@ hosts: containers gather_facts: false tasks: - # - include_tasks: stop_containers.yaml - # name: Stop Containers - # when: inventory_hostname in groups['raspberrypi5'] - # - name: Pause for 60 seconds - # ansible.builtin.pause: - # seconds: 60 + - include_tasks: stop_containers.yaml + name: Stop Containers + when: inventory_hostname in groups['raspberrypi5'] + - name: Pause for 60 seconds + ansible.builtin.pause: + seconds: 60 - # - 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: sync_container_data.yaml + name: Sync Container Data + - include_tasks: reconfigure_nginx.yaml name: Reconfigure nginx proxy manager loop: