mirror of https://github.com/ceph/ceph-ansible.git
purge-cluster: check for any running ceph process after purge
Signed-off-by: Andrew Schoen <aschoen@redhat.com>pull/1464/head
parent
26bdd59f5d
commit
5a3f95dfc1
|
@ -506,6 +506,11 @@
|
|||
state: absent
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- name: check for anything running ceph
|
||||
command: "ps -u ceph -U ceph"
|
||||
register: check_for_running_ceph
|
||||
failed_when: check_for_running_ceph.rc == 0
|
||||
|
||||
|
||||
- name: purge fetch directory
|
||||
|
||||
|
|
Loading…
Reference in New Issue