Skip to content
Snippets Groups Projects
Commit 48bc325f authored by Zuul's avatar Zuul Committed by Gerrit Code Review
Browse files

Merge "Fix issue with image download when checksum url is none"

parents d42b0691 dea36ac9
No related branches found
No related tags found
No related merge requests found
...@@ -18,7 +18,8 @@ ...@@ -18,7 +18,8 @@
- name: Ensure the image is downloaded - name: Ensure the image is downloaded
vars: vars:
checksum: "{{ image_download_checksum_algorithm }}:{{ expected_checksum.content.split(' ')[0] }}" # NOTE(wszumski): This is evaluated even when expected_checksum is skipped
checksum: "{{ image_download_checksum_algorithm }}:{{ expected_checksum.content.split(' ')[0] if 'content' in expected_checksum else '' }}"
get_url: get_url:
url: "{{ image_download_url }}" url: "{{ image_download_url }}"
dest: "{{ image_download_dest }}" dest: "{{ image_download_dest }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment