download container always been on download_delegate host (#5177)

* download container always been on download_delegate host

* fix also check pull required
This commit is contained in:
Sergey
2019-10-17 15:38:39 +03:00
committed by Kubernetes Prow Robot
parent c672681ce5
commit 65e461a7c0
2 changed files with 4 additions and 4 deletions

View File

@@ -6,7 +6,7 @@
# nginx:1.15,gcr.io/google-containers/kube-proxy:v1.14.1,gcr.io/google-containers/kube-proxy@sha256:44af2833c6cbd9a7fc2e9d2f5244a39dfd2e31ad91bf9d4b7d810678db738ee9,gcr.io/google-containers/kube-apiserver:v1.14.1,etc...
- name: check_pull_required | Generate a list of information about the images on a node
shell: "{{ image_info_command }}"
delegate_to: "{{ download_delegate if download_run_once or inventory_hostname }}"
delegate_to: "{{ download_delegate if download_run_once else inventory_hostname }}"
no_log: true
register: docker_images
failed_when: false