Fix detection of rabbitmq restart
The bind address and port can be overriden to be different from the role defaults, so we must check the actual configured values rather than assume the defaults. Change-Id: I61a7b7ec91a6e89f2ab060c2853c7f2d17ce1906
This commit is contained in:
parent
510978a595
commit
0fb7cc475b
@ -18,5 +18,6 @@
|
||||
|
||||
- name: Wait for rabbitmq to be started
|
||||
wait_for:
|
||||
host: 0.0.0.0
|
||||
port: 5672
|
||||
host: "{{ item.key }}"
|
||||
port: "{{ item.value }}"
|
||||
loop: "{{ query('dict', rabbitmq_port_bindings.tcp_listeners) }}"
|
||||
|
Loading…
Reference in New Issue
Block a user