summaryrefslogtreecommitdiffstats
path: root/ansible/test/roles/prepare-rke/tasks/infra.yml
blob: 6e7bcb96dd4956330c9f479be827ed662ad3ea8f (plain)
1
2
3
4
5
6
7
8
9
10
---
- 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_linux-amd64"