Merge "Fix rabbitmq prechecks broken due to Ansible upgrade"

This commit is contained in:
Jenkins 2017-06-02 09:11:23 +00:00 committed by Gerrit Code Review
commit 5b98751aa8

View File

@ -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"