blob: aa01e28157145cbf43244aeb8753c971ccab2f3b [file] [log] [blame]
Michal Zegan531cb2c2019-06-05 13:05:11 +02001---
2- name: "Ensure {{ app_data_path }}/downloads directory exists"
3 file:
4 path: "{{ app_data_path }}/downloads"
5 recurse: true
6 state: directory
7
8- name: "Download and unarchive helm-{{ helm_version }}"
9 unarchive:
10 src: "https://get.helm.sh/helm-v{{ helm_version }}-linux-amd64.tar.gz"
11 dest: "/tmp"
12 remote_src: true
13
14- name: "Copy helm binary"
15 copy:
16 src: /tmp/linux-amd64/helm
17 dest: "{{ app_data_path }}/downloads/helm"
18 remote_src: true