Commit be66cc99 authored by nanahira's avatar nanahira

centos kernel grub

parent 7bc06d1e
Pipeline #2210 passed with stage
in 5 minutes and 25 seconds
......@@ -20,3 +20,15 @@
yum:
name: kmod-wireguard,wireguard-dkms
state: absent
- name: change grub
become: true
lineinfile:
path: /etc/default/grub
regexp: '^GRUB_DEFAULT='
line: 'GRUB_DEFAULT=0'
backrefs: true
register: change_grub_result
- name: make grub config
when: change_grub_result.changed
become: true
shell: grub2-mkconfig -o /boot/grub2/grub.cfg
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment