From a4d5a14791e771192098f578e66cce5b0f7c72bc Mon Sep 17 00:00:00 2001 From: Bogdan Dobrelya Date: Wed, 23 Nov 2016 10:37:08 +0100 Subject: [PATCH] Fix nginx container download for download_run_once mode W/o this patch, the "Download containers" task may be skipped when running on the delegate node due to wrong "when" confition. Then it fails to upload nginx image to the nodes as well. Fix download nginx dependency so it always can be pushed to nodes when download_run_once is enabled. Signed-off-by: Bogdan Dobrelya --- roles/kubernetes/node/meta/main.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/roles/kubernetes/node/meta/main.yml b/roles/kubernetes/node/meta/main.yml index 99e0c6bb2..3e1dd5b3e 100644 --- a/roles/kubernetes/node/meta/main.yml +++ b/roles/kubernetes/node/meta/main.yml @@ -7,7 +7,6 @@ dependencies: - role: kubernetes/secrets - role: download file: "{{ downloads.nginx }}" - when: is_kube_master == false and loadbalancer_apiserver_localhost|default(false) - role: download file: "{{ downloads.testbox }}" - role: download