mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2025-12-15 22:34:21 +03:00
Fix pull_by_digest variable type to boolean instead of str (#7612)
This commit is contained in:
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user