Browse Source

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
Bogdan Dobrelya 8 years ago
parent
commit
d890d2f277
1 changed files with 0 additions and 1 deletions
  1. 1
      roles/kubernetes/node/meta/main.yml

1
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

Loading…
Cancel
Save