- - name: 'Fetch tar.gz'
- get_url:
- url: "http://storage.googleapis.com/kubernetes-helm/helm-v{{helm_version}}-linux-amd64.tar.gz"
- dest: "/tmp/helm-v{{helm_version}}-linux-amd64.tar.gz"
- - name: 'Unarchive'
- unarchive:
- src: "/tmp/helm-v{{helm_version}}-linux-amd64.tar.gz"
- dest: /tmp
- remote_src: true
- become: yes
- - name: 'Move helm to /usr/local/bin and set as executable'
- command: 'mv /tmp/linux-amd64/helm /usr/local/bin/helm'
- become: yes
- - name: 'Check helm.'
- command: 'which helm'
-
- - name: 'Install Helm 3.3 {{helm3_3_version}}'
- block:
- - name: create directory