infrastructure/k8s/roles/download/tasks/main.yml

10 lines
321 B
YAML
Raw Normal View History

2022-09-11 16:49:31 +00:00
---
- name: Download k3s binary
ansible.builtin.get_url:
2022-09-11 16:49:31 +00:00
url: https://github.com/k3s-io/k3s/releases/download/{{ k3s_version }}/k3s
checksum: sha256:https://github.com/k3s-io/k3s/releases/download/{{ k3s_version }}/sha256sum-amd64.txt
dest: /usr/local/bin/k3s
owner: root
group: root
mode: 0755