summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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"