Skip to content

Commit

Permalink
feat: add kernel-modules-hook to make kernel upgrades safer
Browse files Browse the repository at this point in the history
  • Loading branch information
paolomainardi authored Nov 17, 2024
1 parent 2ba8439 commit 922125e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions playbooks/roles/system/tasks/kernel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
- stat: path=/boot/grub
register: grubcfg

- name: "Install kernel hooks to keep running kernel healthy"
block:
- name: Install kernel-modules-hook
community.general.pacman:
name:
- kernel-modules-hook

- name: "Install linux-lts kernel"
when: system.kernel == "standard"
block:
Expand Down

0 comments on commit 922125e

Please sign in to comment.