diff --git a/purge-cluster.yml b/purge-cluster.yml index ab2b8ec13..d5e001013 100644 --- a/purge-cluster.yml +++ b/purge-cluster.yml @@ -261,7 +261,7 @@ rbdmirror_group_name in group_names - name: check for anything running ceph - shell: "ps awux | grep -v grep | grep -q -- ceph-" + shell: "ps awux | grep -- [c]eph-" register: check_for_running_ceph failed_when: check_for_running_ceph.rc == 0