Use wait on secondary and delay for 15 seconds
This commit is contained in:
parent
43d4f69608
commit
4fe6204dfb
|
@ -56,12 +56,12 @@
|
||||||
- name: restart system cleanly
|
- name: restart system cleanly
|
||||||
block:
|
block:
|
||||||
- name: secondary node
|
- name: secondary node
|
||||||
command: 'pvc node secondary {{ ansible_hostname }}'
|
command: 'pvc node secondary --wait {{ ansible_hostname }}'
|
||||||
ignore_errors: true
|
ignore_errors: true
|
||||||
|
|
||||||
- name: wait 30 seconds for system to stabilize
|
- name: wait 15 seconds for system to stabilize
|
||||||
pause:
|
pause:
|
||||||
seconds: 30
|
seconds: 15
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue