upgrade: start service before applying policies
We shut down all of our RabbitMQ instances during an upgrade which means that when it tries to apply the policies, everything is still shutdown. Change-Id: I3e0f976481819548f18b8d1ce90da89cda88053c
This commit is contained in:
parent
971fff32b1
commit
97d3a9deaf
@ -72,7 +72,7 @@
|
|||||||
- rabbitmq-config
|
- rabbitmq-config
|
||||||
|
|
||||||
- include_tasks: rabbitmq_restart.yml
|
- include_tasks: rabbitmq_restart.yml
|
||||||
when: rabbit_config is changed or rabbitmq_plugin is changed or cookie_set is changed
|
when: rabbit_config is changed or rabbitmq_plugin is changed or cookie_set is changed or rabbitmq_upgrade | bool
|
||||||
|
|
||||||
- name: Apply rabbitmq policies
|
- name: Apply rabbitmq policies
|
||||||
rabbitmq_policy:
|
rabbitmq_policy:
|
||||||
|
Loading…
Reference in New Issue
Block a user