From 12644c84bb9520b50fac47bbd7c56249e5373b05 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Thu, 15 Jan 2015 15:49:31 -0500 Subject: [PATCH] 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 --- playbooks/pre-flight_check.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/playbooks/pre-flight_check.yml b/playbooks/pre-flight_check.yml index 64bc8f6..76cbf72 100644 --- a/playbooks/pre-flight_check.yml +++ b/playbooks/pre-flight_check.yml @@ -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