Skip to content

Commit

Permalink
purge: reset-failed ceph-crash
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit 5ab46f8)
  • Loading branch information
guits committed Jun 15, 2022
1 parent c9a8102 commit 941102d
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions infrastructure-playbooks/purge-cluster.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 941102d

Please sign in to comment.