Merge "Fix problem where ipv6 address causes failure"
This commit is contained in:
commit
a65ce784ec
@ -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