From 30ce663c22a12b3e28bc1059030a8befdc193d31 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Mon, 25 Jul 2016 10:17:14 -0400 Subject: [PATCH] purge-cluster: remove -q flag from grep to prevent broken pipes Signed-off-by: Alfredo Deza Resolves: rhbz#1339576 --- purge-cluster.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/purge-cluster.yml b/purge-cluster.yml index 37333b344..27bce4661 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