Merge "Remove RabbitMQ ha-all policy when not required" into stable/xena

This commit is contained in:
Zuul 2023-05-11 09:13:41 +00:00 committed by Gerrit Code Review
commit e61535c1fb
2 changed files with 8 additions and 1 deletions

View File

@ -1,6 +1,8 @@
---
- include_tasks: remove-ha-all-policy.yml
when: rabbitmq_remove_ha_all_policy | bool
when:
- not om_enable_rabbitmq_high_availability | bool
- rabbitmq_remove_ha_all_policy | bool
- import_tasks: config.yml

View File

@ -0,0 +1,5 @@
---
fixes:
- |
When upgrading or deploying RabbitMQ, the policy `ha-all` is cleared if
`om_enable_rabbitmq_high_availability` is set to `false`.