diff --git a/playbooks/mailu_switch_to_primary.yaml b/playbooks/mailu_switch_to_primary.yaml index d007ee1..20ad91c 100644 --- a/playbooks/mailu_switch_to_primary.yaml +++ b/playbooks/mailu_switch_to_primary.yaml @@ -20,6 +20,9 @@ - mailu2-webmail-1 - HomeAssistant - mosquitto-mosquitto-1 + - gitlab + - semaphore-app-1 + - semaphore-db-1 tasks: - name: Get ruleset @@ -58,7 +61,7 @@ # - 180 - name: Stop mailu containers - command: "docker pause {{ containers | join(' ') }}" + command: "docker stop {{ containers | join(' ') }}" become: true ignore_errors: true when: inventory_hostname in groups['raspberry'] \ No newline at end of file diff --git a/playbooks/sync_all.yaml b/playbooks/sync_all.yaml index 31d4641..a6d446a 100644 --- a/playbooks/sync_all.yaml +++ b/playbooks/sync_all.yaml @@ -3,15 +3,15 @@ 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 + # - include_tasks: sync_container_data.yaml + # name: Sync Container Data - include_tasks: reconfigure_nginx.yaml name: Reconfigure nginx proxy manager loop: