Disable pvc-flush service while rebooting
Prevents the flush daemon from starting on node boot, before the playbook is actually ready to unflush the node.
This commit is contained in:
parent
cdc7e3377b
commit
750cb4b55c
|
@ -95,10 +95,11 @@
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
- name: stop PVC flush daemon cleanly
|
- name: stop and disable PVC flush daemon cleanly
|
||||||
service:
|
service:
|
||||||
name: "pvc-flush"
|
name: "pvc-flush"
|
||||||
state: stopped
|
state: stopped
|
||||||
|
enabled: no
|
||||||
|
|
||||||
- name: stop PVC daemon cleanly
|
- name: stop PVC daemon cleanly
|
||||||
service:
|
service:
|
||||||
|
@ -143,6 +144,12 @@
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
|
|
||||||
|
- name: start and enable PVC flush daemon cleanly
|
||||||
|
service:
|
||||||
|
name: "pvc-flush"
|
||||||
|
state: started
|
||||||
|
enabled: yes
|
||||||
|
|
||||||
- name: reset any systemd failures
|
- name: reset any systemd failures
|
||||||
command: systemctl reset-failed
|
command: systemctl reset-failed
|
||||||
when: freshness.changed or kernelversion.changed
|
when: freshness.changed or kernelversion.changed
|
||||||
|
|
Loading…
Reference in New Issue