commit | d082a601fc64f91f799a1a169e48d5328a8b9546 | [log] [tgz] |
---|---|---|
author | Zack Williams <zdw@opennetworking.org> | Wed Apr 18 21:44:52 2018 -0700 |
committer | Zack Williams <zdw@opennetworking.org> | Fri Apr 20 00:03:57 2018 +0000 |
tree | aff21f0ca0399f1728c77ccc672310522b5599c3 | |
parent | 9f2ba4ed7f71cb16b99368e767e654f4960f2ba3 [diff] |
[CORD-2943] Possible fix to issue with inventory vars not being applied in kubespray Change-Id: Iedce00cf4c421cab8e04ff0d39cdb08bb4b1450b
diff --git a/ansible/roles/prep-kubespray/templates/kubespray_inventory.j2 b/ansible/roles/prep-kubespray/templates/kubespray_inventory.j2 index d0f1724..deb9a04 100644 --- a/ansible/roles/prep-kubespray/templates/kubespray_inventory.j2 +++ b/ansible/roles/prep-kubespray/templates/kubespray_inventory.j2
@@ -12,7 +12,7 @@ {{ node }} ip='{{ management_net_cidr | ipaddr(npi.ipv4_last_octet) | ipaddr("address") }}' {% endfor %} -[cord-headnodes:vars] +[all:vars] supplementary_addresses_in_ssl_keys=['{{ hostvars[groups["head"][0]].ansible_default_ipv4.address }}'] [kube-master:children]