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