blob: 55ab7f16628c9f0f079ca81ba0df2b2883012925 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
---
- name: "Ensure {{ app_data_path }} exists"
file:
path: "{{ app_data_path }}/downloads"
state: directory
- name: "Install rke-{{ rke_version }}"
get_url:
url: "https://github.com/rancher/rke/releases/download/v{{ rke_version }}/rke_linux-amd64"
dest: "{{ app_data_path }}/downloads/rke"
- name: "Install kubectl-{{ kubectl_version }}"
get_url:
url: "https://storage.googleapis.com/kubernetes-release/release/v{{ kubectl_version }}/bin/linux/amd64/kubectl"
dest: "/usr/local/bin/kubectl"
mode: 0755
|