blob: 55ab7f16628c9f0f079ca81ba0df2b2883012925 [file] [log] [blame]
Michal Zegan1ec19b02019-04-30 14:52:13 +02001---
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"
10 dest: "{{ app_data_path }}/downloads/rke"
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