SW Download als role, kernel Bug
This commit is contained in:
parent
29a5b8841e
commit
98bdbf9daa
21 changed files with 649 additions and 407 deletions
15
roles/activate_last_kernel/tasks/main.yml
Normal file
15
roles/activate_last_kernel/tasks/main.yml
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue