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 <bdobrelia@mirantis.com>
This commit is contained in:
Bogdan Dobrelya 2016-11-23 10:37:08 +01:00
parent 793f3990a0
commit d890d2f277

View file

@ -7,7 +7,6 @@ dependencies:
- role: kubernetes/secrets - role: kubernetes/secrets
- role: download - role: download
file: "{{ downloads.nginx }}" file: "{{ downloads.nginx }}"
when: is_kube_master == false and loadbalancer_apiserver_localhost|default(false)
- role: download - role: download
file: "{{ downloads.testbox }}" file: "{{ downloads.testbox }}"
- role: download - role: download