diff options
author | 2018-10-04 15:22:54 +0200 | |
---|---|---|
committer | 2018-10-04 15:22:54 +0200 | |
commit | 342239db77b3e447ea91bd3d034248d080e6c335 (patch) | |
tree | 301ae83c3e38c80055035c73d219b0c4a8c57f45 /xci/infra/bifrost | |
parent | 6158af2f83842e3d6bdcba8c7ba93b4116b405ae (diff) |
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 <mbuil@suse.com>
Diffstat (limited to 'xci/infra/bifrost')
-rw-r--r-- | xci/infra/bifrost/playbooks/opnfv-virtual.yml | 6 |
1 files changed, 2 insertions, 4 deletions
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}}" |