- name: "Check kubectl {{kubectl_version}}"
command: "which kubectl"
- - name: "Install Helm 3.3"
- shell: |
- echo "----> Installing helm 3.3"
- wget 'https://get.helm.sh/helm-v{{helm3_3_version}}-linux-amd64.tar.gz'
- tar -xvf './helm-v{{helm3_3_version}}-linux-amd64.tar.gz'
- mkdir -p /usr/local/bin/helm3.3
- mv linux-amd64/helm /usr/local/bin/helm3.3
- which helm3.3
- become: true
-
- name: "Install Helm3.5 {{helm3_5_version}}"
block:
- name: "Create directory /tmp/helm3.5"
command: "which helm3.5"
- name: "Check kubectl {{kubectl_version}}"
command: "which kubectl"
- - name: "Install Helm 3.5"
- shell: |
- echo "----> Installing helm3.5"
- wget 'https://get.helm.sh/helm-v{{helm3_5_version}}-linux-amd64.tar.gz'
- tar -xvf './helm-v{{helm3_5_version}}-linux-amd64.tar.gz'
- mkdir -p /usr/local/bin/helm3.5
- mv linux-amd64/helm /usr/local/bin/helm3.5
- which helm3.5
- become: true
- name: "Install Helm3.7 {{helm3_7_version}}"
block:
command: "which helm3.7"
- name: "Check kubectl {{kubectl_version}}"
command: "which kubectl"
- - name: "Install Helm 3.7"
- shell: |
- echo "----> Installing helm3.7"
- wget 'https://get.helm.sh/helm-v{{helm3_7_version}}-linux-amd64.tar.gz'
- tar -xvf './helm-v{{helm3_7_version}}-linux-amd64.tar.gz'
- mkdir -p /usr/local/bin/helm3.7
- mv linux-amd64/helm /usr/local/bin/helm3.7
- which helm3.7
- become: true
- name: "Install ChartMuseum {{chartmuseum_version}}"
block: