Merge "Fix rabbitmq prechecks broken due to Ansible upgrade"
This commit is contained in:
commit
5b98751aa8
@ -58,4 +58,4 @@
|
||||
- fail: msg="Hostname has to resolve to IP address of api_interface"
|
||||
with_items: "{{ rabbitmq_hostnames.results }}"
|
||||
when:
|
||||
- "'{{ hostvars[item['item']]['ansible_' + hostvars[item['item']]['api_interface']]['ipv4']['address'] }}' not in '{{ item.stdout }}'"
|
||||
- "item.stdout.find(hostvars[item['item']]['ansible_' ~ hostvars[item['item']]['api_interface']]['ipv4']['address']) == -1"
|
||||
|
Loading…
Reference in New Issue
Block a user