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>
(cherry picked from commit e368ee0fc9
)
pull/7307/head
v4.0.70.6
parent
6485e1a69e
commit
28063d1d69
|
@ -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