summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/mq/tasks
diff options
context:
space:
mode:
Diffstat (limited to 'deploy/adapters/ansible/roles/mq/tasks')
-rw-r--r--deploy/adapters/ansible/roles/mq/tasks/rabbitmq_cluster.yml3
-rwxr-xr-xdeploy/adapters/ansible/roles/mq/tasks/rabbitmq_install.yml2
2 files changed, 3 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 50c062f5..b67df280 100644
--- a/deploy/adapters/ansible/roles/mq/tasks/rabbitmq_cluster.yml
+++ b/deploy/adapters/ansible/roles/mq/tasks/rabbitmq_cluster.yml
@@ -9,7 +9,8 @@
---
- name: check if i in the node list
shell: |
- rabbitmqctl -q cluster_status | grep '\[{nodes,'|grep {{ inventory_hostname }}
+ rabbitmqctl -q cluster_status | grep '\[{nodes,' \
+ | grep {{ inventory_hostname }}
changed_when: is_member.rc != 0
failed_when: false
register: is_member
diff --git a/deploy/adapters/ansible/roles/mq/tasks/rabbitmq_install.yml b/deploy/adapters/ansible/roles/mq/tasks/rabbitmq_install.yml
index d6f7759e..01a92efd 100755
--- a/deploy/adapters/ansible/roles/mq/tasks/rabbitmq_install.yml
+++ b/deploy/adapters/ansible/roles/mq/tasks/rabbitmq_install.yml
@@ -31,7 +31,7 @@
service:
name: rabbitmq-server
state: stopped
- enabled: yes
+ enabled: "yes"
- name: replace cookie
copy: