Added check for rabbitmq partitions
This commit is contained in:
parent
ab52dd28bc
commit
4a851d7426
@ -16,3 +16,10 @@
|
||||
changed_when: no
|
||||
failed_when: rabbitmq_fd_result.stdout|int < rabbitmq_fd
|
||||
ignore_errors: True
|
||||
|
||||
- name : Check rabbitmq for partitions
|
||||
shell: rabbitmqctl cluster_status | grep partitions -A 1 | grep -q controller
|
||||
register: rabbitmq_partition_result
|
||||
changed_when: no
|
||||
failed_when: rabbitmq_partition_result.rc == 0
|
||||
ignore_errors: True
|
||||
|
Loading…
Reference in New Issue
Block a user