diff options
| author | Steven Dake <stdake@cisco.com> | 2016-03-21 13:23:19 -0400 |
|---|---|---|
| committer | Steven Dake <stdake@cisco.com> | 2016-03-21 13:23:19 -0400 |
| commit | 7a9d1a3cb9ffd954b51467dcf97696c625b63c55 (patch) | |
| tree | 7609455118c25d76df7ba4bd3a1014a81343883b | |
| parent | 31e873420587e379806344e25c4340e7adfb3d16 (diff) | |
| download | kolla-7a9d1a3cb9ffd954b51467dcf97696c625b63c55.tar.gz kolla-7a9d1a3cb9ffd954b51467dcf97696c625b63c55.zip | |
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
| -rw-r--r-- | ansible/roles/rabbitmq/tasks/bootstrap.yml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/rabbitmq/tasks/bootstrap.yml b/ansible/roles/rabbitmq/tasks/bootstrap.yml index a7d875b10..01083ea54 100644 --- a/ansible/roles/rabbitmq/tasks/bootstrap.yml +++ b/ansible/roles/rabbitmq/tasks/bootstrap.yml @@ -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'] |
