Fix logic to check for partitions
Change-Id: I93da15ee64d3309acc4f6855eb2d3cc252ed4cd3
This commit is contained in:
parent
1176f0a956
commit
151e5fed3a
|
@ -59,7 +59,7 @@
|
|||
failed_when: bz1293712.rc == 0
|
||||
|
||||
- name : Check rabbitmq for partitions
|
||||
shell: rabbitmqctl cluster_status | grep -v alarm | grep partitions -A 1 | grep -q controller
|
||||
shell: rabbitmqctl cluster_status | grep partitions -A 1 | grep -v alarm | grep -q controller
|
||||
register: rabbit_partitioned
|
||||
changed_when: no
|
||||
failed_when: rabbit_partitioned.rc == 0
|
||||
|
|
Loading…
Reference in New Issue