mirror of
https://gitlab.sectorq.eu/jaydee/ansible.git
synced 2025-01-23 20:39:26 +00:00
bitwarden
This commit is contained in:
parent
3389d9c5a1
commit
e5c9b09c0c
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
- include_tasks: stop_containers.yaml
|
- include_tasks: stop_containers.yaml
|
||||||
name: Stop Containers
|
name: Stop Containers
|
||||||
when: inventory_hostname == destination_server
|
when: inventory_hostname == destination_server or inventory_hostname == source_server
|
||||||
|
|
||||||
- name: Pause for 60 seconds
|
- name: Pause for 60 seconds
|
||||||
ansible.builtin.pause:
|
ansible.builtin.pause:
|
||||||
@ -87,7 +87,7 @@
|
|||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
become: true
|
become: true
|
||||||
register: result
|
register: result
|
||||||
when: inventory_hostname == destination_server
|
when: inventory_hostname == destination_server or inventory_hostname == source_server
|
||||||
# - name: Get relevant configs
|
# - name: Get relevant configs
|
||||||
# ansible.builtin.shell: 'docker restart gitlab'
|
# ansible.builtin.shell: 'docker restart gitlab'
|
||||||
# ignore_errors: yes
|
# ignore_errors: yes
|
||||||
|
Loading…
x
Reference in New Issue
Block a user