xci: roles: configure-network: Determine host NIC from Ansible facts 81/52181/4
authorMarkos Chandras <mchandras@suse.de>
Thu, 15 Feb 2018 08:57:47 +0000 (08:57 +0000)
committerMarkos Chandras <mchandras@suse.de>
Wed, 21 Feb 2018 17:37:05 +0000 (17:37 +0000)
commitcdcfb32414af77abac43440e0ab5b448e72d83e5
tree600f06e58f54db46be3072794237762eb02e72e1
parent7c37b9ac8715ebedecf903f9de67c55830fb5b90
xci: roles: configure-network: Determine host NIC from Ansible facts

Hardcoding the interface as a variable is very fragile since it varies
from host to host. We could use the Ansible facts to find out the
interface name and then use that to configure all the VLANs and
networking.

Change-Id: Ie7e2409d638625b9bede23b6c1fe33dc36f81840
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/installer/kubespray/playbooks/group_vars/all
xci/playbooks/roles/configure-network/tasks/main.yml
xci/playbooks/roles/configure-network/templates/debian/compute00.interface.j2
xci/playbooks/roles/configure-network/templates/debian/controller00.interface.j2
xci/playbooks/roles/configure-network/templates/debian/opnfv.interface.j2
xci/playbooks/roles/configure-network/templates/redhat/interface.ifcfg.j2
xci/playbooks/roles/configure-network/templates/suse/suse.interface.j2
xci/var/Debian.yml
xci/var/RedHat.yml
xci/var/Suse.yml