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>pull/646/head
parent
793f3990a0
commit
d890d2f277
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue