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

This commit is contained in:
Pavel Martynov
2021-05-18 16:29:31 +03:00
committed by GitHub
parent e9870b8d25
commit 4b9f98f933

View File

@ -5,8 +5,7 @@
- name: set_container_facts | Set if containers should be pulled by digest
set_fact:
pull_by_digest: >-
{%- if download.sha256 is defined and download.sha256 -%}true{%- else -%}false{%- endif -%}
pull_by_digest: "{{ download.sha256 is defined and download.sha256 }}"
- name: set_container_facts | Define by what name to pull the image
set_fact: