14 lines
413 B
YAML
14 lines
413 B
YAML
|
- name: Download k3s binary
|
||
|
get_url:
|
||
|
url: https://github.com/k3s-io/k3s/releases/download/{{ k3s.version }}/k3s-arm64
|
||
|
checksum: sha256:https://github.com/k3s-io/k3s/releases/download/{{ k3s.version }}/sha256sum-arm64.txt
|
||
|
dest: /usr/local/bin/k3s
|
||
|
owner: root
|
||
|
group: root
|
||
|
mode: 0755
|
||
|
|
||
|
- name: Enable cgroups
|
||
|
copy:
|
||
|
src: cmdline.txt
|
||
|
dest: /boot/firmware/cmdline.txt
|
||
|
notify: reboot
|