From 8d16a6dafc56d6d742099d504df5f7607eada7b0 Mon Sep 17 00:00:00 2001 From: Ahmed Abdelhalim Date: Sun, 11 Jan 2026 17:37:14 +0100 Subject: Update live ISO to avoid issues with keyrings with old ISO --- roles/bootstrap/tasks/install-archlinux.yml | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/roles/bootstrap/tasks/install-archlinux.yml b/roles/bootstrap/tasks/install-archlinux.yml index 6812926..ffd2f37 100644 --- a/roles/bootstrap/tasks/install-archlinux.yml +++ b/roles/bootstrap/tasks/install-archlinux.yml @@ -1,4 +1,13 @@ --- +- name: "Update live environment" + ansible.builtin.command: + cmd: "{{ item }}" + loop: + - "pacman -Syu --noconfirm" + - "pacman -Sy --needed archlinux-keyring --noconfirm" + changed_when: true + failed_when: false + - name: "Run pacstrap" ansible.builtin.command: cmd: "pacstrap -K {{ mnt_root_path }} base linux linux-firmware" -- cgit v1.2.3