add ubuntu support

This commit is contained in:
2024-04-17 10:53:09 +02:00
parent bd8ae76703
commit 92a0f18240
8 changed files with 140 additions and 41 deletions

View File

@@ -119,7 +119,7 @@
- name: Mount boot filesystem
mount:
path: /mnt/boot
path: "{{ '/mnt/boot/efi' if os | lower in ['ubuntu', 'ubuntu-lts'] else '/mnt/boot' }}"
src: UUID={{ boot_uuid.stdout }}
fstype: vfat
state: mounted