Skip to content

Commit

Permalink
Fix __bootloader_uefi_ directories for other than RHEL distributions
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrosi committed Feb 26, 2024
1 parent 5cfb272 commit d756069
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ __bootloader_packages:
- grubby
__bootloader_default_grub: /etc/default/grub
__bootloader_uefi_conf_dir: >-
{%- if ansible_distribution == 'RedHat' -%}
/boot/efi/EFI/redhat/
{%- elif ansible_distribution in ['SLES', 'SLES_SAP'] -%}
{%- if ansible_os_family == 'RedHat' -%}
/boot/efi/EFI/{{ ansible_distribution | lower }}/
{%- elif ansible_os_family == Suse -%}
/boot/efi/EFI/BOOT/
{%- endif -%}
__bootloader_bios_conf_dir: /boot/grub2/

0 comments on commit d756069

Please sign in to comment.