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

Merge "Fix IP resolve check for RabbitMQ on AIO"

parents 1fac190c 5aa2dcce
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
- fail: msg="Hostname has to resolve to IP address of api_interface"
with_items: rabbitmq_hostnames.results
when: "{% set ip=item.stdout.split(' ')[0] %}'{{ hostvars[item['item']]['ansible_' + hostvars[item['item']]['api_interface']]['ipv4']['address'] }}' != '{{ ip }}'"
when: "'{{ hostvars[item['item']]['ansible_' + hostvars[item['item']]['api_interface']]['ipv4']['address'] }}' not in '{{ item.stdout }}'"
- name: Creating rabbitmq volume
kolla_docker:
......
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