diff options
author | your name <email@163.com> | 2015-09-09 03:26:11 -0400 |
---|---|---|
committer | your name <email@163.com> | 2015-09-09 03:26:11 -0400 |
commit | 72039e915d1fc960bd0d7fccd910ea282d61bee7 (patch) | |
tree | 60452129b1b9f3c3419b4a29a038f5f0cbade5f7 /deploy/adapters/ansible/roles/mq | |
parent | cf87d3067a63cb8be315a3addfd9c27d86be3b5a (diff) |
Compass Netconfig optimization
Change-Id: Icbcfc7d794623436f22be5f6763b212a25d4fac7
JIRA: COMPASS-30
Diffstat (limited to 'deploy/adapters/ansible/roles/mq')
-rw-r--r-- | deploy/adapters/ansible/roles/mq/tasks/rabbitmq_cluster.yml | 4 |
1 files changed, 2 insertions, 2 deletions
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 |