From c7e1e8bef2456007f4919b86e1a9ffa3be2a0408 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sat, 25 May 2019 11:26:09 +0100 Subject: [PATCH] Use archstrike mirrorlist package --- files/pacman.conf | 2 +- tasks/packages.yml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/files/pacman.conf b/files/pacman.conf index 3a0f6be..a2b0cb4 100644 --- a/files/pacman.conf +++ b/files/pacman.conf @@ -96,7 +96,7 @@ Include = /etc/pacman.d/antergos-mirrorlist Server = https://download.sublimetext.com/arch/stable/x86_64 [archstrike] -Server = https://www.mirrorservice.org/sites/mirror.archstrike.org/$arch/$repo +Include = /etc/pacman.d/archstrike-mirrorlist [quarry] Server = http://pkgbuild.com/~anatolik/quarry/x86_64/ diff --git a/tasks/packages.yml b/tasks/packages.yml index ccd9d00..a969b97 100644 --- a/tasks/packages.yml +++ b/tasks/packages.yml @@ -67,3 +67,13 @@ state: present regexp: '^BUILDENV=' line: 'BUILDENV=(!distcc color ccache check !sign)' + +- name: "Install additional mirrorlists" + aur: + skip_installed: true + name: "{{ item }}" + become: true + become_user: aur_builder + when: "item not in installed_packages.stdout_lines" + with_items: + - 'archstrike-mirrorlist'