summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/tasks/install-ubuntu.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-07-13 14:38:01 +0200
committerAhmed Abdelhalim <[email protected]>2026-07-14 01:31:15 +0200
commit296be49e6918fedb22d1dab040ff9fdf3624c055 (patch)
tree0baf68c324e8340ec5a4d952fee4dbcc12b3670a /roles/bootstrap/tasks/install-ubuntu.yml
parent7b444a5853933496febef4cbaf614f1fa0434cc6 (diff)
Refactor template naming for bootstrap
Diffstat (limited to 'roles/bootstrap/tasks/install-ubuntu.yml')
-rw-r--r--roles/bootstrap/tasks/install-ubuntu.yml10
1 files changed, 3 insertions, 7 deletions
diff --git a/roles/bootstrap/tasks/install-ubuntu.yml b/roles/bootstrap/tasks/install-ubuntu.yml
index 89f351f..3329ff5 100644
--- a/roles/bootstrap/tasks/install-ubuntu.yml
+++ b/roles/bootstrap/tasks/install-ubuntu.yml
@@ -99,7 +99,7 @@
- name: "Configure Ubuntu boot entries"
ansible.builtin.template:
- src: "refind_ubuntu.conf.j2"
+ src: "ubuntu/ubuntu.conf.j2"
dest: "{{ mnt_boot_path }}/EFI/BOOT/ubuntu.conf"
mode: "0644"
# NOTE: this is skipped because the docker test doesn't have proper EFI/BOOT directory created
@@ -112,11 +112,7 @@
mode: "0755"
- name: "Install kernel sync script for EFI partition"
- ansible.builtin.copy:
+ ansible.builtin.template:
+ src: "ubuntu/refind-sync-kernel.j2"
dest: "{{ mnt_root_path }}/etc/kernel/postinst.d/refind-sync-kernel"
mode: "0755"
- content: |
- #!/bin/sh
- mkdir -p /boot/efi/EFI/ubuntu
- cp /boot/vmlinuz /boot/efi/EFI/ubuntu/
- cp /boot/initrd.img /boot/efi/EFI/ubuntu/