From 97d3a9deaf28b41c2d565b30ce95ec95a199dbb2 Mon Sep 17 00:00:00 2001 From: Mohammed Naser Date: Tue, 27 Nov 2018 13:10:33 -0500 Subject: [PATCH] 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 --- tasks/rabbitmq_post_install.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks/rabbitmq_post_install.yml b/tasks/rabbitmq_post_install.yml index d8f37acb..b1e3d0e4 100644 --- a/tasks/rabbitmq_post_install.yml +++ b/tasks/rabbitmq_post_install.yml @@ -72,7 +72,7 @@ - rabbitmq-config - 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 rabbitmq_policy: