feat(configuration): override EFI loader to shim when Secure Boot enabled
This commit is contained in:
@@ -14,3 +14,12 @@
|
|||||||
- name: Set platform configuration
|
- name: Set platform configuration
|
||||||
ansible.builtin.set_fact:
|
ansible.builtin.set_fact:
|
||||||
_configuration_platform: "{{ configuration_platform_config[os_family] }}"
|
_configuration_platform: "{{ configuration_platform_config[os_family] }}"
|
||||||
|
|
||||||
|
- name: Override EFI loader to shim for Secure Boot
|
||||||
|
when:
|
||||||
|
- system_cfg.features.secure_boot.enabled | bool
|
||||||
|
- _configuration_platform.efi_loader != 'shimx64.efi'
|
||||||
|
- os != 'archlinux'
|
||||||
|
ansible.builtin.set_fact:
|
||||||
|
_configuration_platform: >-
|
||||||
|
{{ _configuration_platform | combine({'efi_loader': 'shimx64.efi'}) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user