diff --git a/playbooks/sync_all.yaml b/playbooks/sync_all.yaml index c2339ed..b30ee0b 100644 --- a/playbooks/sync_all.yaml +++ b/playbooks/sync_all.yaml @@ -78,7 +78,7 @@ when: inventory_hostname == destination_server - include_tasks: start_containers.yaml name: Start Containers - when: inventory_hostname == destination_server + when: inventory_hostname == destination_server or inventory_hostname == source_server - name: Pause for 60 seconds ansible.builtin.pause: seconds: 60 @@ -87,7 +87,7 @@ ignore_errors: true become: true register: result - when: inventory_hostname == destination_server or inventory_hostname == source_server + when: inventory_hostname == destination_server # - name: Get relevant configs # ansible.builtin.shell: 'docker restart gitlab' # ignore_errors: yes