From 72039e915d1fc960bd0d7fccd910ea282d61bee7 Mon Sep 17 00:00:00 2001 From: your name Date: Wed, 9 Sep 2015 03:26:11 -0400 Subject: Compass Netconfig optimization Change-Id: Icbcfc7d794623436f22be5f6763b212a25d4fac7 JIRA: COMPASS-30 --- deploy/adapters/ansible/roles/mq/tasks/rabbitmq_cluster.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'deploy/adapters/ansible/roles/mq') diff --git a/deploy/adapters/ansible/roles/mq/tasks/rabbitmq_cluster.yml b/deploy/adapters/ansible/roles/mq/tasks/rabbitmq_cluster.yml index cb83a0c9..fdc18a65 100644 --- a/deploy/adapters/ansible/roles/mq/tasks/rabbitmq_cluster.yml +++ b/deploy/adapters/ansible/roles/mq/tasks/rabbitmq_cluster.yml @@ -1,11 +1,11 @@ --- - name: stop rabbitmq app command: rabbitmqctl stop_app - when: HA_CLUSTER[inventory_hostname] != '' + run_once: True - name: rabbitmqctl reset command: rabbitmqctl reset - when: HA_CLUSTER[inventory_hostname] != '' + run_once: True - name: stop rabbitmq shell: rabbitmqctl stop -- cgit 1.2.3-korg