From c53017fa23a3e495f8a091dd7e6be902fc966137 Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 7 Nov 2018 16:31:08 +0000 Subject: xci: bifrost: Respect IDF DNS details during node configuration The IDF files contain DNS information so we should respect that when we configure the various XCI nodes. The DNS information is also a list instead of a string so treat it as such. Change-Id: I1c4d5eb600baaca35b2838dcafa7a75e59bf6783 Signed-off-by: Markos Chandras --- xci/infra/bifrost/playbooks/opnfv-virtual.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xci/infra') diff --git a/xci/infra/bifrost/playbooks/opnfv-virtual.yml b/xci/infra/bifrost/playbooks/opnfv-virtual.yml index 77f4b512..f97eae4b 100644 --- a/xci/infra/bifrost/playbooks/opnfv-virtual.yml +++ b/xci/infra/bifrost/playbooks/opnfv-virtual.yml @@ -141,7 +141,7 @@ name: bifrost-configdrives-dynamic private: True vars: - ipv4_namesever: "{{ ipv4_nameserver | ((lookup('env','http_proxy') != '') | ternary('192.168.122.1', '8.8.8.8')) }}" + ipv4_nameserver: "{{ host_info[inventory_hostname]['public']['dns'] | list }}" delegate_to: opnfv - import_role: name: bifrost-deploy-nodes-dynamic -- cgit