This commit is contained in:
zhangzhihan
2020-09-10 20:12:17 +08:00
parent 1d210d18c4
commit 1d0943fdb0
27 changed files with 339 additions and 96 deletions

View File

@@ -28,12 +28,18 @@
- tsg_access_type == 4
- t_kernel_ml.changed
- name: "grub2-mkconfig"
- name: "BIOS:grub2-mkconfig"
shell: grub2-mkconfig -o /boot/grub2/grub.cfg
when:
- tsg_access_type == 4
- t_kernel_ml.changed
- name: "UEFI:grub2-mkconfig"
shell: grub2-mkconfig -o /boot/efi/EFI/centos/grub.cfg
when:
- tsg_access_type == 4
- t_kernel_ml.changed
- name: "reboot"
reboot:
when: t_kernel_ml.changed