mirror of https://github.com/ceph/ceph-ansible.git
Merge pull request #900 from ceph/rhbz-1339576
purge-cluster: remove -q flag from grep to prevent broken pipespull/929/head
commit
1460d668b4
|
@ -261,7 +261,7 @@
|
||||||
rbdmirror_group_name in group_names
|
rbdmirror_group_name in group_names
|
||||||
|
|
||||||
- name: check for anything running ceph
|
- 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
|
register: check_for_running_ceph
|
||||||
failed_when: check_for_running_ceph.rc == 0
|
failed_when: check_for_running_ceph.rc == 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue