diff options
Diffstat (limited to 'deploy/adapters/ansible/roles/mq')
4 files changed, 3 insertions, 4 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: diff --git a/deploy/adapters/ansible/roles/mq/vars/Debian.yml b/deploy/adapters/ansible/roles/mq/vars/Debian.yml index a8f73e11..b9f46bdf 100644 --- a/deploy/adapters/ansible/roles/mq/vars/Debian.yml +++ b/deploy/adapters/ansible/roles/mq/vars/Debian.yml @@ -9,4 +9,3 @@ --- services: [] packages: [] - diff --git a/deploy/adapters/ansible/roles/mq/vars/RedHat.yml b/deploy/adapters/ansible/roles/mq/vars/RedHat.yml index a8f73e11..b9f46bdf 100644 --- a/deploy/adapters/ansible/roles/mq/vars/RedHat.yml +++ b/deploy/adapters/ansible/roles/mq/vars/RedHat.yml @@ -9,4 +9,3 @@ --- services: [] packages: [] - |