diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-07-13 14:22:42 +0200 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-07-14 01:31:15 +0200 |
| commit | 7b444a5853933496febef4cbaf614f1fa0434cc6 (patch) | |
| tree | e20e8015e33003d9900fbc44fcaeec5818259fce /roles/bootstrap | |
| parent | de41c3a73d885ac09db7ae0618067a7d83f81606 (diff) | |
Refresh arch mirror list, to avoid stale sporadic mirrors failures
Diffstat (limited to 'roles/bootstrap')
| -rw-r--r-- | roles/bootstrap/tasks/install-archlinux.yml | 6 |
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 }}" |
