|
|
|
@ -31,7 +31,7 @@
|
|
|
|
|
- name: Generate GRUB2 stub configuration
|
|
|
|
|
ansible.builtin.template:
|
|
|
|
|
src: grub_cfg_stub.j2
|
|
|
|
|
dest: /boot/efi/EFI/almalinux/grub.cfg
|
|
|
|
|
dest: /boot/efi/EFI/msvsphere/grub.cfg
|
|
|
|
|
mode: "0700"
|
|
|
|
|
|
|
|
|
|
- name: Generate GRUB2 main configuration
|
|
|
|
@ -47,7 +47,7 @@
|
|
|
|
|
|
|
|
|
|
- name: Remove old GRUB2 environment block on ESP
|
|
|
|
|
ansible.builtin.file:
|
|
|
|
|
path: /boot/efi/EFI/almalinux/grubenv
|
|
|
|
|
path: /boot/efi/EFI/msvsphere/grubenv
|
|
|
|
|
state: absent
|
|
|
|
|
|
|
|
|
|
- name: Get version of installed kernel # noqa: command-instead-of-module
|
|
|
|
|