Fix problem where ipv6 address causes failure
If an IPV6 address is assigned to the interface as well as IPv4, Kolla bombs out during deployment. Change-Id: Ic161c52825e0642e261d22418569d0f7667c6bd1 Closes-Bug: #1560137
This commit is contained in:
parent
31e8734205
commit
7a9d1a3cb9
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: Check if all rabbit hostnames are resolvable
|
- name: Check if all rabbit hostnames are resolvable
|
||||||
command: "getent hosts {{ hostvars[item]['ansible_hostname'] }}"
|
command: "getent ahostsv4 {{ hostvars[item]['ansible_hostname'] }}"
|
||||||
changed_when: false
|
changed_when: false
|
||||||
register: rabbitmq_hostnames
|
register: rabbitmq_hostnames
|
||||||
with_items: groups['rabbitmq']
|
with_items: groups['rabbitmq']
|
||||||
|
Loading…
Reference in New Issue
Block a user