summaryrefslogtreecommitdiffstats
path: root/ansible
diff options
context:
space:
mode:
authorBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-11-25 12:00:16 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2021-11-25 12:00:16 +0100
commit3a39c1681b1c73303f8de1d0316a405445c7ee41 (patch)
treea0f5d2f67c1fe11f0d3c4262109af27b491a3bb5 /ansible
parente6c1765a4abeccbd572e5ca08b5742ce3856cac3 (diff)
[ANSIBLE] Play Helm v3 tasks unconditionally
Helm v3 is the default hence no need for conditionals. Change-Id: I2c9924a0925a8fce0ccac23430b629e3e567f654 Issue-ID: OOM-2883 Signed-off-by: Bartek Grzybowski <b.grzybowski@partner.samsung.com>
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/helm/tasks/main.yml3
1 files changed, 1 insertions, 2 deletions
diff --git a/ansible/roles/helm/tasks/main.yml b/ansible/roles/helm/tasks/main.yml
index 64db7850..aea6e56f 100644
--- a/ansible/roles/helm/tasks/main.yml
+++ b/ansible/roles/helm/tasks/main.yml
@@ -10,7 +10,7 @@
remote_src: true
mode: 0755
-- name: Install helm-push plugin if runing with Helm v3
+- name: Install helm-push plugin
block:
- name: Get helm environment information
command: "{{ helm_bin_dir }}/helm env"
@@ -37,4 +37,3 @@
src: "{{ app_data_path }}/downloads/helm-push_{{ helm3_push_version }}_linux_amd64.tar.gz"
dest: "{{ helm_plugin_dir }}/helm-push"
remote_src: true
- when: helm_version | regex_search("^v3" )