This patch complements this other:
https://gerrit.opnfv.org/gerrit/#/c/62575/2
We require the pdf and the idf (when doing baremetal) in the create-vm
role, so we should propagate that variable to the playbook that triggers
those roles
Change-Id: I15806d386db4e6b11192829f2dbc61662bffec2b
Signed-off-by: Manuel Buil <mbuil@suse.com>
-e vm_domain_type=${VM_DOMAIN_TYPE} \
-e baremetal_json_file=/tmp/baremetal.json \
-e xci_distro=${XCI_DISTRO} \
+ -e pdf_file=${PDF} \
+ -e idf_file=${IDF} \
${BIFROST_ROOT_DIR}/playbooks/xci-create-virtual.yml
name: "Bootstrap XCI hardware resources and prepare provisioning environment"
gather_facts: yes
vars_files:
- - "{{ xci_path }}/xci/var/pdf.yml"
+ - "{{ pdf_file }}"
+ - "{{ idf_file }}"
- "{{ xci_path }}/xci/var/opnfv_vm.yml"
- "{{ xci_path }}/xci/var/opnfv.yml"
pre_tasks: