tasks: rabbitmq_started: Signal rabbitmq-server init failures

It is important to know that rabbitmq-server was started properly
otherwise subsequent rabbitmq commands will fail. As such, we drop
the 'failed_when' statements and let the service module signal
potential failures.

Change-Id: Ib02a538f33fc6d7b21edbcbfe6c2a5bd06a21045
This commit is contained in:
Markos Chandras 2017-06-08 16:48:26 +01:00
parent 06a95841e2
commit f57dbb1929

View File

@ -18,7 +18,6 @@
name: rabbitmq-server
state: started
enabled: yes
failed_when: false
when: >
ansible_hostname == rabbitmq_primary_cluster_node
tags:
@ -31,7 +30,6 @@
name: rabbitmq-server
state: started
enabled: yes
failed_when: false
when: >
ansible_hostname != rabbitmq_primary_cluster_node
tags: