Browse Source

Default kubeadm_images to empty dict instead of set_fact (#4957)

Change-Id: I9ef52232176fe8e2a99b4f09ae05e1451f7ad1ff
pull/4959/head
Matthew Mosesohn 5 years ago
committed by Kubernetes Prow Robot
parent
commit
65065e7fdf
2 changed files with 1 additions and 10 deletions
  1. 1
      roles/download/defaults/main.yml
  2. 10
      roles/download/tasks/main.yml

1
roles/download/defaults/main.yml

@ -16,6 +16,7 @@ skip_downloads: false
# Optionally skip kubeadm images download
skip_kubeadm_images: false
kubeadm_images: {}
# if this is set to true will only download files once. Doesn't work
# on Container Linux by CoreOS unless the download_localhost is true and localhost

10
roles/download/tasks/main.yml

@ -36,16 +36,6 @@
- download
- upload
- name: download | Create kubeadm_images variable if it is absent
set_fact:
kubeadm_images: {}
when:
- kubeadm_images is not defined
tags:
- download
- upload
- facts
- name: download | Download files / images
include_tasks: "{{ include_file }}"
with_dict: "{{ downloads | combine(kubeadm_images) }}"

Loading…
Cancel
Save