purge-cluster: check for any running ceph process after purge

Signed-off-by: Andrew Schoen <aschoen@redhat.com>
pull/1464/head
Andrew Schoen 2017-04-25 07:35:13 -05:00
parent 26bdd59f5d
commit 5a3f95dfc1
1 changed files with 5 additions and 0 deletions

View File

@ -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