kolla-ansible/ansible/roles/rabbitmq/tasks/upgrade.yml
Matt Crees c85b64d158 Remove RabbitMQ ha-all policy when not required
With the addition of the variable
`om_enable_rabbitmq_high_availability`, this feature in the upgrade
task should be brought back. It is also now used in the deploy task. The
`ha-all` policy is cleared only when
`om_enable_rabbitmq_high_availability` is set to `false`.

Change-Id: Ia056aa40e996b1f0fed43c0f672466c7e4a2f547
2023-04-13 15:58:15 +02:00

14 lines
256 B
YAML

---
- include_tasks: remove-ha-all-policy.yml
when:
- not om_enable_rabbitmq_high_availability | bool
- import_tasks: config.yml
- import_tasks: feature-flags.yml
- import_tasks: check-containers.yml
- name: Flush handlers
meta: flush_handlers