Michal Zegan | 531cb2c | 2019-06-05 13:05:11 +0200 | [diff] [blame^] | 1 | --- |
| 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 |