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:
parent
59ed3a48a5
commit
12644c84bb
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user