Reorder Ceph stop and lower some waits
This commit is contained in:
parent
d35250b870
commit
97869ca5c3
|
@ -64,9 +64,31 @@
|
||||||
retries: 60
|
retries: 60
|
||||||
delay: 10
|
delay: 10
|
||||||
|
|
||||||
- name: wait 30 seconds for system to stabilize
|
- name: wait 15 seconds for system to stabilize
|
||||||
pause:
|
pause:
|
||||||
seconds: "30"
|
seconds: "15"
|
||||||
|
become: no
|
||||||
|
connection: local
|
||||||
|
|
||||||
|
- name: stop and disable PVC flush daemon cleanly
|
||||||
|
service:
|
||||||
|
name: "pvc-flush"
|
||||||
|
state: stopped
|
||||||
|
enabled: no
|
||||||
|
|
||||||
|
- name: stop PVC daemon cleanly
|
||||||
|
service:
|
||||||
|
name: "pvcnoded"
|
||||||
|
state: stopped
|
||||||
|
|
||||||
|
- name: stop Zookeeper daemon cleanly
|
||||||
|
service:
|
||||||
|
name: "zookeeper"
|
||||||
|
state: stopped
|
||||||
|
|
||||||
|
- name: wait 15 seconds for system to stabilize
|
||||||
|
pause:
|
||||||
|
seconds: "15"
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
|
@ -103,22 +125,6 @@
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
- name: stop and disable PVC flush daemon cleanly
|
|
||||||
service:
|
|
||||||
name: "pvc-flush"
|
|
||||||
state: stopped
|
|
||||||
enabled: no
|
|
||||||
|
|
||||||
- name: stop PVC daemon cleanly
|
|
||||||
service:
|
|
||||||
name: "pvcnoded"
|
|
||||||
state: stopped
|
|
||||||
|
|
||||||
- name: stop Zookeeper daemon cleanly
|
|
||||||
service:
|
|
||||||
name: "zookeeper"
|
|
||||||
state: stopped
|
|
||||||
|
|
||||||
- name: restart system
|
- name: restart system
|
||||||
reboot:
|
reboot:
|
||||||
post_reboot_delay: 15
|
post_reboot_delay: 15
|
||||||
|
|
Loading…
Reference in New Issue