summaryrefslogtreecommitdiffstats
path: root/roles/bootstrap/tasks/install-archlinux.yml
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2026-01-11 16:15:08 +0100
committerAhmed Abdelhalim <[email protected]>2026-01-11 17:03:46 +0100
commit1fc10537c698036364c1fbf8f1a21179ee82c6be (patch)
treeabe153b268956f943ab7beb21f71f03cdb23ed67 /roles/bootstrap/tasks/install-archlinux.yml
parent36a9c17be00b4c6ba97b3f08a57c1a40b0a99576 (diff)
Fix live environment keyring issues when the iso was created long ago
Diffstat (limited to 'roles/bootstrap/tasks/install-archlinux.yml')
-rw-r--r--roles/bootstrap/tasks/install-archlinux.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/roles/bootstrap/tasks/install-archlinux.yml b/roles/bootstrap/tasks/install-archlinux.yml
index 6812926..b672689 100644
--- a/roles/bootstrap/tasks/install-archlinux.yml
+++ b/roles/bootstrap/tasks/install-archlinux.yml
@@ -1,4 +1,14 @@
---
+- name: "Refresh live environment pacman keyring"
+ ansible.builtin.command:
+ cmd: "{{ item }}"
+ changed_when: true
+ failed_when: false
+ loop:
+ - "pacman-key --init"
+ - "pacman-key --populate"
+ - "pacman-key --refresh-keys"
+
- name: "Run pacstrap"
ansible.builtin.command:
cmd: "pacstrap -K {{ mnt_root_path }} base linux linux-firmware"