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:
parent
06a95841e2
commit
f57dbb1929
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user