fix rabbit slow starts causing errors
'Apply rabbitmq policies' requires rabbit to be started "stderr": "Error: this command requires the 'rabbit' app to be running on the target node. Start it with 'rabbitmqctl start_app'.\nArguments given:\n\t-q -n rabbit@infra1 list_policies -p / Change-Id: I585bca0b2a8f7061c1ab9adb417d0aa1f396ea88
This commit is contained in:
parent
edb9b2e129
commit
b622c1486a
@ -15,3 +15,8 @@
|
|||||||
|
|
||||||
- include_tasks: rabbitmq_stopped.yml
|
- include_tasks: rabbitmq_stopped.yml
|
||||||
- include_tasks: rabbitmq_started.yml
|
- include_tasks: rabbitmq_started.yml
|
||||||
|
|
||||||
|
- name: Wait for rabbitmq to be started
|
||||||
|
wait_for:
|
||||||
|
host: 0.0.0.0
|
||||||
|
port: 5672
|
||||||
|
Loading…
Reference in New Issue
Block a user