diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-07-13 14:38:01 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-07-14 01:31:15 +0200 |
| commit | 296be49e6918fedb22d1dab040ff9fdf3624c055 (patch) | |
| tree | 0baf68c324e8340ec5a4d952fee4dbcc12b3670a /roles/bootstrap/tasks/install-archlinux.yml | |
| parent | 7b444a5853933496febef4cbaf614f1fa0434cc6 (diff) | |
Refactor template naming for bootstrap
Diffstat (limited to 'roles/bootstrap/tasks/install-archlinux.yml')
| -rw-r--r-- | roles/bootstrap/tasks/install-archlinux.yml | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/roles/bootstrap/tasks/install-archlinux.yml b/roles/bootstrap/tasks/install-archlinux.yml index 642469b..441d448 100644 --- a/roles/bootstrap/tasks/install-archlinux.yml +++ b/roles/bootstrap/tasks/install-archlinux.yml @@ -78,21 +78,17 @@ - name: "Configure Arch Linux boot entries" ansible.builtin.template: - src: "refind_arch.conf.j2" - dest: "{{ mnt_boot_path }}/EFI/BOOT/arch.conf" + src: "archlinux/archlinux.conf.j2" + dest: "{{ mnt_boot_path }}/EFI/BOOT/archlinux.conf" mode: "0644" # NOTE: this is skipped because the docker test doesn't have proper EFI/BOOT directory created tags: ["molecule-notest"] - name: "Install kernel sync script for EFI partition" - ansible.builtin.copy: + ansible.builtin.template: + src: "archlinux/refind-sync-kernel.j2" dest: "{{ mnt_root_path }}/usr/local/bin/refind-sync-kernel" mode: "0755" - content: | - #!/bin/sh - mkdir -p /boot/efi/EFI/arch - cp /boot/vmlinuz-linux /boot/efi/EFI/arch/ - cp /boot/initramfs-linux.img /boot/efi/EFI/arch/ - name: "Configure pacman hook for rEFInd kernel updates" ansible.builtin.copy: |
