roles: bootstrap-host: Ensure DNS info from IDF is respected 13/58213/4
authorMarkos Chandras <mchandras@suse.de>
Mon, 4 Jun 2018 19:59:38 +0000 (20:59 +0100)
committerMarkos Chandras <mchandras@suse.de>
Wed, 6 Jun 2018 14:17:05 +0000 (15:17 +0100)
commita82590eb643383127abea5dc7320445e03d7a9c2
tree68e7a521e90d0f3466ed34a48666fa4d256a9a17
parent246029cfa3b70cb3e5678a41187b214620f6d507
roles: bootstrap-host: Ensure DNS info from IDF is respected

We are configuring static IPs in the various nodes but we don't do
anything for DNS assuming that DNS is being configured by another
entity. However, the IDF file already contains DNS information for us
so we should use that instead. Moreover, we update the IDF file to use
the gateway as DNS instead of the Google one in order to make it more
usable on restricted networks.

Change-Id: Ieba58ec9558080a1296e204c4f99bae859e9daef
Signed-off-by: Markos Chandras <mchandras@suse.de>
xci/playbooks/dynamic_inventory.py
xci/playbooks/roles/bootstrap-host/tasks/network_redhat.yml
xci/playbooks/roles/bootstrap-host/tasks/network_suse.yml
xci/playbooks/roles/bootstrap-host/templates/osa/debian.interface.j2
xci/playbooks/roles/bootstrap-host/templates/osa/redhat.interface.j2
xci/var/idf.yml