summaryrefslogtreecommitdiffstats
path: root/xci/playbooks/roles/bootstrap-host
diff options
context:
space:
mode:
authorManuel Buil <mbuil@suse.com>2019-03-19 13:52:19 +0100
committerManuel Buil <mbuil@suse.com>2019-03-25 13:33:03 +0000
commit4993f06aadf49169cb7fc9917ba475c3d015a9ab (patch)
tree174bc6d96eb43c2abda5f8bd3ce537cf858a65c6 /xci/playbooks/roles/bootstrap-host
parent4cef3c83891b4e71bc75de138c3d03c8b7d935cf (diff)
Fix bug in the inventory generator
The dns keys should only appear in case the idf provides a dns entry for the network. Otherwise, it should not exist at all. If it exists, even if the value is empty, ansible will transform it in a variable and "item.network.dns is defined" will return true: https://github.com/opnfv/releng-xci/blob/master/xci/playbooks/roles/bootstrap-host/templates/osa/debian.interface.j2#L35 A docstring is also added to explain what is the purpose of the class Signed-off-by: Manuel Buil <mbuil@suse.com> Change-Id: Ib8afa06cecb54f384083060073fa463c7f8d313f
Diffstat (limited to 'xci/playbooks/roles/bootstrap-host')
0 files changed, 0 insertions, 0 deletions