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
8b474760ed
commit
f277acc974
|
@ -95,10 +95,11 @@
|
|||
become: no
|
||||
connection: local
|
||||
|
||||
- name: stop PVC flush daemon cleanly
|
||||
- name: stop and disable PVC flush daemon cleanly
|
||||
service:
|
||||
name: "pvc-flush"
|
||||
state: stopped
|
||||
enabled: no
|
||||
|
||||
- name: stop PVC daemon cleanly
|
||||
service:
|
||||
|
@ -143,6 +144,12 @@
|
|||
become: no
|
||||
connection: local
|
||||
|
||||
- name: start and enable PVC flush daemon cleanly
|
||||
service:
|
||||
name: "pvc-flush"
|
||||
state: started
|
||||
enabled: yes
|
||||
|
||||
- name: reset any systemd failures
|
||||
command: systemctl reset-failed
|
||||
when: freshness.changed or kernelversion.changed
|
||||
|
|
Loading…
Reference in New Issue