diff --git a/tasks/rabbitmq_restart.yml b/tasks/rabbitmq_restart.yml index 292da67b..e9875f02 100644 --- a/tasks/rabbitmq_restart.yml +++ b/tasks/rabbitmq_restart.yml @@ -15,3 +15,8 @@ - include_tasks: rabbitmq_stopped.yml - include_tasks: rabbitmq_started.yml + +- name: Wait for rabbitmq to be started + wait_for: + host: 0.0.0.0 + port: 5672