Skip to content
Snippets Groups Projects
Commit 5b98751a authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Fix rabbitmq prechecks broken due to Ansible upgrade"

parents 52d9158d 4738c75a
No related branches found
No related tags found
No related merge requests found
......@@ -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"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment