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

22 lines
615 B
YAML

- name: Download arm64 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
notify: reboot
- 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
- name: Configure kernel command line parameters
copy:
src: cmdline.txt
dest: /boot/firmware/cmdline.txt
notify: reboot