20 lines
380 B
YAML
20 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
|