SW Download als role, kernel Bug

This commit is contained in:
Frank Schiebel 2024-02-03 16:42:19 +01:00
parent 29a5b8841e
commit 98bdbf9daa
21 changed files with 649 additions and 407 deletions

View file

@ -0,0 +1,2 @@
- name: Run update-grub
command: update-grub

View file

@ -0,0 +1,15 @@
---
- name: Change Grub default Kernel
lineinfile:
dest: /etc/default/grub
regexp: '^(GRUB_DEFAULT=).*'
line: '\g<1>"1>2"'
backrefs: yes
notify: Run update-grub
- name: Remove grub protection
ansible.builtin.blockinfile:
path: /etc/grub.d/40_custom
marker: "# {mark} ANSIBLE MANAGED BLOCK"
block: ""
notify: Run update-grub