summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/configure-network/templates/debian/compute00.interface.j2
AgeCommit message (Collapse)AuthorFilesLines
2018-02-21xci: roles: configure-network: Determine host NIC from Ansible factsMarkos Chandras1-15/+15
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>
2017-08-25xci: playbooks: configure-network: Prepare for multi-distro supportMarkos Chandras1-0/+75
Move the network templates inside the role since it's their only user. Moreover, remove the arguments when we include the role in playbooks and move the distro logic to the role itself. Change-Id: I938686fdb31b9896b9e97339799a0edd4c34bf36 Signed-off-by: Markos Chandras <mchandras@suse.de>