From: Andrew Schoen Date: Tue, 25 Apr 2017 12:35:13 +0000 (-0500) Subject: purge-cluster: check for any running ceph process after purge X-Git-Tag: v2.3.0rc1~38^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=5a3f95dfc1bc9bba7ad62999969997ce0a27da13;p=ceph-ansible.git purge-cluster: check for any running ceph process after purge Signed-off-by: Andrew Schoen --- diff --git a/infrastructure-playbooks/purge-cluster.yml b/infrastructure-playbooks/purge-cluster.yml index 4b6c03ceb..5a756fd92 100644 --- a/infrastructure-playbooks/purge-cluster.yml +++ b/infrastructure-playbooks/purge-cluster.yml @@ -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