purge-cluster: remove -q flag from grep to prevent broken pipes

Signed-off-by: Alfredo Deza <adeza@redhat.com>

Resolves: rhbz#1339576
pull/900/head
Alfredo Deza 2016-07-25 10:17:14 -04:00
parent 46720ebf4a
commit 30ce663c22
1 changed files with 1 additions and 1 deletions

View File

@ -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