kayobe/ansible/roles/image-download/defaults/main.yml
Mark Goddard ef84890798 Fix IPA image download
The IPA ramdisk and kernel images may be built or downloaded via a URL.
If the latter option is used, any images previously downloaded to
$KOLLA_CONFIG_PATH/config/ironic/ironic-agent.* would previously not be
updated if the image contents change.

This change introduces variables for setting a URL to a file containing
checksums for the images. The algorithm used to compute the checksum is
also configurable (default sha256). This allows us to ensure we are
using the correct version of the image, while avoiding an expensive few
hundred megabyte image download just to check.

If a checksum is not specified, the image will be downloaded every time
to ensure that it is up to date.

Change-Id: I8120518ed98d61f3652f5205ce7ec9f798ab2aa1
Story: 2001660
Task: 6693
2018-10-02 13:30:11 +01:00

20 lines
495 B
YAML

---
# URL of the image.
# Mutually exclusive with image_download_path.
image_download_url:
# URL of a checksum of the image.
# Mutually exclusive with image_download_path.
image_download_checksum_url:
# Algorithm of a checksum of the image.
# Mutually exclusive with image_download_path.
image_download_checksum_algorithm:
# Path to a local file containing the image.
# Mutually exclusive with image_download_url.
image_download_path:
# Path to the image's destination.
image_download_dest: