21 lines
536 B
YAML
21 lines
536 B
YAML
---
|
|
- name: Download Helm install script
|
|
ansible.builtin.get_url:
|
|
url: https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
|
|
dest: /tmp/get-helm-3.sh
|
|
mode: '0755'
|
|
|
|
- name: Install Helm
|
|
ansible.builtin.command: /tmp/get-helm-3.sh
|
|
args:
|
|
creates: /usr/local/bin/helm
|
|
|
|
- name: Verify Helm installation
|
|
ansible.builtin.command: helm version
|
|
register: helm_version_output
|
|
changed_when: false
|
|
|
|
- name: Show Helm version
|
|
ansible.builtin.debug:
|
|
var: helm_version_output.stdout
|