summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/mq
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/mq')
-rw-r--r--deploy/adapters/ansible/roles/mq/tasks/rabbitmq_cluster.yml4
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