Merge "Proceed with installation/upgrade even if cluster not healthy"
This commit is contained in:
1 changed files with 2 additions and 0 deletions
@@ -17,6 +17,7 @@
command:"rabbitmqctl cluster_status --formatter json"
register:_cluster_status
changed_when:False
failed_when:False
tags:
- rabbitmq-upgrade
@@ -38,6 +39,7 @@
when:
- (_feature_flags.stdout_lines | length) > 0
when:
- _cluster_status.rc == 0
- ((_cluster_status.stdout | from_json)['running_nodes'] | length) == (groups[rabbitmq_host_group] | length)
- ((_cluster_status.stdout | from_json)['alarms'] | length) == 0
- ((_cluster_status.stdout | from_json)['partitions'] | length) == 0
Reference in New Issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.