Merge "Fix problem where ipv6 address causes failure"

This commit is contained in:
Jenkins 2016-03-21 18:24:42 +00:00 committed by Gerrit Code Review
commit a65ce784ec

View File

@ -1,6 +1,6 @@
---
- 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
register: rabbitmq_hostnames
with_items: groups['rabbitmq']