serverctl/infrastructure/create-resources/ansible/roles/download/tasks/main.yml

11 lines
356 B
YAML
Raw Permalink Normal View History

2022-02-19 20:11:28 +01:00
---
- 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"