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>
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"
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" )