mirror of https://github.com/ceph/ceph-ansible.git
purge-cluster: remove -q flag from grep to prevent broken pipes
Signed-off-by: Alfredo Deza <adeza@redhat.com> Resolves: rhbz#1339576pull/900/head
parent
46720ebf4a
commit
30ce663c22
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue