summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/bootstrap/tasks/install-archlinux.yml6
1 files changed, 6 insertions, 0 deletions
diff --git a/roles/bootstrap/tasks/install-archlinux.yml b/roles/bootstrap/tasks/install-archlinux.yml
index e2c795f..642469b 100644
--- a/roles/bootstrap/tasks/install-archlinux.yml
+++ b/roles/bootstrap/tasks/install-archlinux.yml
@@ -1,4 +1,10 @@
---
+- name: "Refresh mirrorlist"
+ ansible.builtin.command:
+ # CDN edges (e.g. fastly.mirror.pkgbuild.com) drop SSL on large downloads; pick working mirrors
+ cmd: reflector --latest 5 --sort rate --protocol https --save /etc/pacman.d/mirrorlist
+ changed_when: true
+
- name: "Update live environment"
ansible.builtin.command:
cmd: "{{ item }}"