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
Andrew Schoen 2017-04-25 07:35:13 -05:00
parent c692f5dbe1
commit ea91e7f8a8
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