Michal Zegan | 1ec19b0 | 2019-04-30 14:52:13 +0200 | [diff] [blame] | 1 | --- |
| 2 | - name: "Ensure {{ app_data_path }} exists" |
| 3 | file: |
| 4 | path: "{{ app_data_path }}/downloads" |
| 5 | state: directory |
| 6 | |
| 7 | - name: "Install rke-{{ rke_version }}" |
| 8 | get_url: |
| 9 | url: "https://github.com/rancher/rke/releases/download/v{{ rke_version }}/rke_linux-amd64" |
Tomáš Levora | f6bd937 | 2019-06-14 10:54:39 +0200 | [diff] [blame^] | 10 | dest: "{{ app_data_path }}/downloads/rke_linux-amd64" |
Michal Zegan | 1ec19b0 | 2019-04-30 14:52:13 +0200 | [diff] [blame] | 11 | |
| 12 | - name: "Install kubectl-{{ kubectl_version }}" |
| 13 | get_url: |
| 14 | url: "https://storage.googleapis.com/kubernetes-release/release/v{{ kubectl_version }}/bin/linux/amd64/kubectl" |
| 15 | dest: "/usr/local/bin/kubectl" |
| 16 | mode: 0755 |