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/7186/head
parent
dee49779c9
commit
e368ee0fc9
|
@ -686,11 +686,10 @@
|
||||||
enabled: no
|
enabled: no
|
||||||
failed_when: false
|
failed_when: false
|
||||||
|
|
||||||
- name: systemctl reset-failed ceph-crash@{{ 'ceph-crash@' + ansible_facts['hostname'] }} # noqa 303
|
- name: systemctl reset-failed ceph-crash # noqa 303
|
||||||
command: "systemctl reset-failed ceph-crash@{{ 'ceph-crash@' + ansible_facts['hostname'] }}"
|
command: "systemctl reset-failed {{ 'ceph-crash@' + ansible_facts['hostname'] if containerized_deployment | bool else 'ceph-crash.service' }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
failed_when: false
|
failed_when: false
|
||||||
when: containerized_deployment | bool
|
|
||||||
|
|
||||||
- name: remove service file
|
- name: remove service file
|
||||||
file:
|
file:
|
||||||
|
|
Loading…
Reference in New Issue