]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-ansible.git/commitdiff
purge-cluster: remove -q flag from grep to prevent broken pipes 900/head
authorAlfredo Deza <adeza@redhat.com>
Mon, 25 Jul 2016 14:17:14 +0000 (10:17 -0400)
committerAlfredo Deza <adeza@redhat.com>
Mon, 25 Jul 2016 16:16:26 +0000 (12:16 -0400)
Signed-off-by: Alfredo Deza <adeza@redhat.com>
Resolves: rhbz#1339576

purge-cluster.yml

index 37333b3445a397467accfbd54aadbe89b50f943f..27bce4661d89f6a76e65b9484ae5486c3d66a895 100644 (file)
       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