Added check for rabbitmq partitions

This commit is contained in:
Joe Talerico 2015-11-24 15:06:39 -05:00
parent ab52dd28bc
commit 4a851d7426

View File

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