Browse Source

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

pull/7621/head
Pavel Martynov 3 years ago
committed by GitHub
parent
commit
4b9f98f933
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 2 deletions
  1. 3
      roles/download/tasks/set_container_facts.yml

3
roles/download/tasks/set_container_facts.yml

@ -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:

Loading…
Cancel
Save