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:
Mohammed Naser 2018-11-27 13:10:33 -05:00 committed by Jesse Pretorius (odyssey4me)
parent 971fff32b1
commit 97d3a9deaf

View File

@ -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: