mirror of https://github.com/ceph/ceph-ansible.git
purge: reset-failed ceph-crash
This ensures we always reset-failed the ceph-crash service. Closes: https://bugzilla.redhat.com/show_bug.cgi?id=2055992 Signed-off-by: Guillaume Abrioux <gabrioux@redhat.com>pull/7190/head
parent
dee49779c9
commit
5ab46f836d
|
@ -686,11 +686,10 @@
|
|||
enabled: no
|
||||
failed_when: false
|
||||
|
||||
- name: systemctl reset-failed ceph-crash@{{ 'ceph-crash@' + ansible_facts['hostname'] }} # noqa 303
|
||||
command: "systemctl reset-failed ceph-crash@{{ 'ceph-crash@' + ansible_facts['hostname'] }}"
|
||||
- name: systemctl reset-failed ceph-crash # noqa 303
|
||||
command: "systemctl reset-failed {{ 'ceph-crash@' + ansible_facts['hostname'] if containerized_deployment | bool else 'ceph-crash.service' }}"
|
||||
changed_when: false
|
||||
failed_when: false
|
||||
when: containerized_deployment | bool
|
||||
|
||||
- name: remove service file
|
||||
file:
|
||||
|
|
Loading…
Reference in New Issue