diff --git a/roles/k3s/files/cmdline.txt b/roles/k3s/files/cmdline.txt index 19b7e2f..49d2647 100644 --- a/roles/k3s/files/cmdline.txt +++ b/roles/k3s/files/cmdline.txt @@ -1 +1 @@ -net.ifnames=0 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 elevator=deadline rootwait fixrtc cgroup_memory=1 cgroup_enable=memory \ No newline at end of file +net.ifnames=0 dwc_otg.lpm_enable=0 console=serial0,115200 console=tty1 root=LABEL=writable rootfstype=ext4 fsck.mode=force elevator=deadline rootwait fixrtc cgroup_memory=1 cgroup_enable=memory \ No newline at end of file diff --git a/roles/k3s/tasks/main.yml b/roles/k3s/tasks/main.yml index fc4a8bb..88e7c62 100644 --- a/roles/k3s/tasks/main.yml +++ b/roles/k3s/tasks/main.yml @@ -6,6 +6,7 @@ owner: root group: root mode: 0755 + notify: reboot - name: Configure poe hat fan speed control udev rules copy: @@ -13,8 +14,8 @@ dest: /etc/udev/rules.d/50-rpi-fan.rules notify: reboot -- name: Enable cgroups +- name: Configure kernel command line parameters copy: src: cmdline.txt dest: /boot/firmware/cmdline.txt - notify: reboot \ No newline at end of file + notify: reboot