Correct incorrect syntax on alternate logic path

Corrected incorrect syntax in the automatic rabbitmq restart portion
of the pre-flight check as status was incorrectly listed instead of
state which is what is required.

Change-Id: Icea7dfa605a58498d85724da172b70f488e07c6d
This commit is contained in:
Julia Kreger 2015-01-15 15:49:31 -05:00
parent 59ed3a48a5
commit 12644c84bb

View File

@ -68,7 +68,7 @@
register: rabbitmq_status
ignore_errors: yes
- name: "Attempting to start RabbitMQ - Bootstrap Node"
service: name=rabbitmq-server status=started
service: name=rabbitmq-server state=started
when: rabbitmq_status.rc != 0
- name: "Checking RabbitMQ Cluster Status - Bootstrap Node"
shell: rabbitmqctl -n rabbit@$(hostname) status
@ -84,7 +84,7 @@
register: rabbitmq_status
ignore_errors: yes
- name: "Attempting to start RabbitMQ"
service: name=rabbitmq-server status=started
service: name=rabbitmq-server state=started
when: rabbitmq_status.rc != 0
- name: "Checking RabbitMQ Cluster Status"
shell: rabbitmqctl -n rabbit@$(hostname) status