Merge "Fix IP resolve check for RabbitMQ on AIO"
This commit is contained in:
commit
17781afa52
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user