Fix Debian EFI mount layout
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
vars:
|
vars:
|
||||||
configuration_use_efibootmgr: "{{ is_rhel | default(false) }}"
|
configuration_use_efibootmgr: "{{ is_rhel | default(false) }}"
|
||||||
configuration_efi_dir: >-
|
configuration_efi_dir: >-
|
||||||
{{ "/boot/efi" if os | lower in ["ubuntu", "ubuntu-lts"] else "/boot" }}
|
{{ "/boot/efi" if (is_debian | default(false) or is_rhel | default(false)) else "/boot" }}
|
||||||
configuration_bootloader_id: >-
|
configuration_bootloader_id: >-
|
||||||
{{ "ubuntu" if os | lower in ["ubuntu", "ubuntu-lts"] else os }}
|
{{ "ubuntu" if os | lower in ["ubuntu", "ubuntu-lts"] else os }}
|
||||||
configuration_efi_vendor: >-
|
configuration_efi_vendor: >-
|
||||||
|
|||||||
@@ -492,7 +492,7 @@
|
|||||||
|
|
||||||
- name: Mount boot filesystem
|
- name: Mount boot filesystem
|
||||||
ansible.posix.mount:
|
ansible.posix.mount:
|
||||||
path: "{{ '/mnt/boot/efi' if os | lower in ['rhel8', 'ubuntu', 'ubuntu-lts'] else '/mnt/boot' }}"
|
path: "{{ '/mnt/boot/efi' if (is_debian | default(false) or is_rhel | default(false)) else '/mnt/boot' }}"
|
||||||
src: UUID={{ partitioning_boot_uuid.stdout }}
|
src: UUID={{ partitioning_boot_uuid.stdout }}
|
||||||
fstype: vfat
|
fstype: vfat
|
||||||
state: mounted
|
state: mounted
|
||||||
|
|||||||
Reference in New Issue
Block a user