AnsibleK3S/roles/helm/tasks/main.yml
2024-11-27 22:24:24 +05:00

19 lines
380 B
YAML

---
- name: Get Helm binary
unarchive:
src: "https://get.helm.sh/helm-{{ helm_version }}-linux-amd64.tar.gz"
dest: /tmp
remote_src: true
- name: Copy helm binary to /usr/local/bin
copy:
src: /tmp/linux-amd64/helm
dest: /usr/local/bin/helm
owner: root
group: root
mode: 755
- name: Cleanup
file:
path: /tmp/linux-amd64
state: absent