Fix Debian EFI mount layout

This commit is contained in:
2025-12-27 23:49:21 +01:00
parent 0211efbae7
commit 2c23ce6cbb
2 changed files with 2 additions and 2 deletions

View File

@@ -492,7 +492,7 @@
- name: Mount boot filesystem
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 }}
fstype: vfat
state: mounted