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>
(cherry picked from commit 5a3f95dfc1
)
pull/1473/head
parent
c692f5dbe1
commit
ea91e7f8a8
|
@ -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