diff options
Diffstat (limited to 'xci/infra/bifrost/playbooks/opnfv-virtual.yml')
-rw-r--r-- | xci/infra/bifrost/playbooks/opnfv-virtual.yml | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/xci/infra/bifrost/playbooks/opnfv-virtual.yml b/xci/infra/bifrost/playbooks/opnfv-virtual.yml index 313919ba..f97eae4b 100644 --- a/xci/infra/bifrost/playbooks/opnfv-virtual.yml +++ b/xci/infra/bifrost/playbooks/opnfv-virtual.yml @@ -52,7 +52,7 @@ mode: '0755' owner: 'root' group: 'root' - when: use_prebuilt_images | bool == true + when: create_image_via_dib | bool == false - name: Ensure /etc/hosts has good defaults lineinfile: create: yes @@ -101,7 +101,6 @@ when: - create_image_via_dib | bool == true - transform_boot_image | bool == false - - use_prebuilt_images | bool == false - role: bifrost-keystone-client-config clouds: bifrost: @@ -142,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 |