command: wget https://get.helm.sh/helm-v3.0.2-linux-amd64.tar.gz
when: result is failed and ansible_architecture == 'x86_64'
command: wget https://get.helm.sh/helm-v3.0.2-linux-amd64.tar.gz
when: result is failed and ansible_architecture == 'x86_64'
command: tar -zxvf helm-v3.0.2-linux-amd64.tar.gz
when: result is failed and ansible_architecture == 'x86_64'
command: tar -zxvf helm-v3.0.2-linux-amd64.tar.gz
when: result is failed and ansible_architecture == 'x86_64'
command: mv linux-amd64/helm /usr/local/bin/
when: result is failed and ansible_architecture == 'x86_64'
command: mv linux-amd64/helm /usr/local/bin/
when: result is failed and ansible_architecture == 'x86_64'
command: wget https://get.helm.sh/helm-v3.0.2-linux-arm64.tar.gz
when: result is failed and ansible_architecture == 'aarch64'
command: wget https://get.helm.sh/helm-v3.0.2-linux-arm64.tar.gz
when: result is failed and ansible_architecture == 'aarch64'
command: tar -zxvf helm-v3.0.2-linux-arm64.tar.gz
when: result is failed and ansible_architecture == 'aarch64'
command: tar -zxvf helm-v3.0.2-linux-arm64.tar.gz
when: result is failed and ansible_architecture == 'aarch64'
command: mv linux-arm64/helm /usr/local/bin/
when: result is failed and ansible_architecture == 'aarch64'
command: mv linux-arm64/helm /usr/local/bin/
when: result is failed and ansible_architecture == 'aarch64'
# yamllint disable rule:line-length
command: helm repo add stable https://kubernetes-charts.storage.googleapis.com/
# yamllint disable rule:line-length
when: result is failed
# yamllint disable rule:line-length
command: helm repo add stable https://kubernetes-charts.storage.googleapis.com/
# yamllint disable rule:line-length
when: result is failed