serverctl/infrastructure/create-resources/ansible/roles/download/tasks/main.yml
kjuulh f2c81dc9ac
Some checks failed
continuous-integration/drone/push Build is failing
Add ansible for k3s
2022-02-19 20:11:28 +01:00

11 lines
356 B
YAML

---
- name: Download k3s binary x64
get_url:
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
when: ansible_facts.architecture == "x86_64"