Skip to content
Snippets Groups Projects
Unverified Commit 4b9f98f9 authored by Pavel Martynov's avatar Pavel Martynov Committed by GitHub
Browse files

Fix pull_by_digest variable type to boolean instead of str (#7612)

parent e9870b8d
No related branches found
No related tags found
No related merge requests found
...@@ -5,8 +5,7 @@ ...@@ -5,8 +5,7 @@
- name: set_container_facts | Set if containers should be pulled by digest - name: set_container_facts | Set if containers should be pulled by digest
set_fact: set_fact:
pull_by_digest: >- pull_by_digest: "{{ download.sha256 is defined and download.sha256 }}"
{%- if download.sha256 is defined and download.sha256 -%}true{%- else -%}false{%- endif -%}
- name: set_container_facts | Define by what name to pull the image - name: set_container_facts | Define by what name to pull the image
set_fact: set_fact:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment