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
(cherry picked from commit 97d3a9deaf)
This commit is contained in:
Mohammed Naser 2018-11-27 13:10:33 -05:00 committed by Jesse Pretorius
parent deccf93bdd
commit 3aad60868e
1 changed files with 1 additions and 1 deletions

View File

@ -73,7 +73,7 @@
- include: rabbitmq_restart.yml
static: no
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
rabbitmq_policy: