From 342239db77b3e447ea91bd3d034248d080e6c335 Mon Sep 17 00:00:00 2001 From: Manuel Buil Date: Thu, 4 Oct 2018 15:22:54 +0200 Subject: Bug fix: Remove use_prebuilt_images condition The creation or not of the IPA image does not depend on the value of the use_prebuilt_images. This variable is intended to control the following call to bifrost-create-dib-image role. I added a few comments to clarify what we are doing in each call to the bifrost-create-dib-image role Change-Id: Id66e1a969ca279a055640481719f118744eedf38 Signed-off-by: Manuel Buil --- xci/infra/bifrost/playbooks/opnfv-virtual.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'xci/infra/bifrost') diff --git a/xci/infra/bifrost/playbooks/opnfv-virtual.yml b/xci/infra/bifrost/playbooks/opnfv-virtual.yml index abac7ba2..8dfd9db7 100644 --- a/xci/infra/bifrost/playbooks/opnfv-virtual.yml +++ b/xci/infra/bifrost/playbooks/opnfv-virtual.yml @@ -76,9 +76,7 @@ testing: false enabled_hardware_types: ipmi network_interface: "{{ ansible_default_ipv4.interface }}" - # NOTE(TheJulia): While the next step creates a ramdisk, some elements - # do not support ramdisk-image-create as they invoke steps to cleanup - # the ramdisk which causes ramdisk-image-create to believe it failed. + # Create the IPA image for ironic to boot the nodes and write the final distro in the hard drive - role: bifrost-create-dib-image dib_imagename: "{{ http_boot_folder }}/ipa" build_ramdisk: false @@ -88,7 +86,7 @@ dib_notmpfs: true when: - create_ipa_image | bool == true - - not use_prebuilt_images | bool == false + # Create the final distro image - role: bifrost-create-dib-image dib_imagetype: "qcow2" dib_imagename: "{{deploy_image}}" -- cgit 1.2.3-korg