1
0
Fork 0
home-stack-ansible/roles/k3s/tasks/main.yml

20 lines
565 B
YAML
Raw Normal View History

2021-08-25 04:33:56 +00:00
- 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
2021-12-05 02:40:14 +00:00
- name: Configure poe hat fan speed control udev rules
copy:
src: 50-rpi-fan.rules
dest: /etc/udev/rules.d/50-rpi-fan.rules
notify: reboot
2021-08-25 04:33:56 +00:00
- name: Enable cgroups
copy:
src: cmdline.txt
dest: /boot/firmware/cmdline.txt
notify: reboot