[MOLECULE] Download helm-push unconditionally in 'prepare-helm' role
Change-Id: I12035d5f22d947a54ce56404924ad74561c29546
Issue-ID: OOM-2883
Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
diff --git a/ansible/test/roles/prepare-helm/tasks/main.yml b/ansible/test/roles/prepare-helm/tasks/main.yml
index c1d25de..3956add 100644
--- a/ansible/test/roles/prepare-helm/tasks/main.yml
+++ b/ansible/test/roles/prepare-helm/tasks/main.yml
@@ -10,7 +10,7 @@
url: "https://get.helm.sh/helm-{{ helm_version }}-linux-amd64.tar.gz"
dest: "{{ app_data_path }}/downloads"
-- name: Download Helm v3 helm-push plugin
+- name: Download helm-push plugin
command: "curl --connect-timeout 10 -L https://github.com/chartmuseum/helm-push/releases/download/v{{ helm3_push_version }}/helm-push_{{ helm3_push_version }}_linux_amd64.tar.gz -o {{ app_data_path }}/downloads/helm-push_{{ helm3_push_version }}_linux_amd64.tar.gz"
register: result
retries: 10
@@ -18,4 +18,3 @@
until: not result.failed
args:
warn: false
- when: helm_version | regex_search("^v3" )