diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-11 17:37:14 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-11 17:46:52 +0100 |
| commit | 8d16a6dafc56d6d742099d504df5f7607eada7b0 (patch) | |
| tree | 358e9aaf87d02e178466514ea27afc1d36436b2d | |
| parent | 362142db5a4f5004ab02e32ab5086a9668b6d71d (diff) | |
Update live ISO to avoid issues with keyrings with old ISO
| -rw-r--r-- | roles/bootstrap/tasks/install-archlinux.yml | 9 |
1 files changed, 9 insertions, 0 deletions
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" |
