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

Change-Id: I9ef52232176fe8e2a99b4f09ae05e1451f7ad1ff
This commit is contained in:
Matthew Mosesohn 2019-07-09 22:07:30 +03:00 committed by Kubernetes Prow Robot
parent 352297cf8d
commit 65065e7fdf
2 changed files with 1 additions and 10 deletions

View file

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

View file

@ -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) }}"