Restore Debian ESP mount layout

This commit is contained in:
2025-12-28 02:24:33 +01:00
parent ef945d925a
commit 232ab244ca
2 changed files with 11 additions and 2 deletions

View File

@@ -492,7 +492,12 @@
- name: Mount boot filesystem
ansible.posix.mount:
path: "{{ '/mnt/boot/efi' if (is_debian | default(false) or is_rhel | default(false)) else '/mnt/boot' }}"
path: >-
{{
'/mnt/boot/efi'
if (is_rhel | default(false)) or (os | lower in ['ubuntu', 'ubuntu-lts'])
else '/mnt/boot'
}}
src: UUID={{ partitioning_boot_uuid.stdout }}
fstype: vfat
state: mounted