]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
distro/tests: use faster mirrorlist for Arch
authorTomas Krizek <tomas.krizek@nic.cz>
Tue, 27 Nov 2018 10:52:48 +0000 (11:52 +0100)
committerTomas Krizek <tomas.krizek@nic.cz>
Mon, 17 Dec 2018 10:57:19 +0000 (11:57 +0100)
distro/tests/knot-resolver-test.yaml

index 9588304c9c7ac7df04715ba8accaadd7d6363bd2..a3cb70e36b3e3e681af49a1e0c53a0456ae95608 100644 (file)
             path: /etc/pacman.conf
             state: present
           with_items: "{{ repos }}"
+        - name: set up package mirrors
+          copy:
+            content: |
+              ## Arch Linux repository mirrorlist
+              ## Generated on 2018-12-10
+              ## Czechia
+              Server = http://mirrors.nic.cz/archlinux/$repo/os/$arch
+              Server = http://ftp.fi.muni.cz/pub/linux/arch/$repo/os/$arch
+              Server = http://ftp.sh.cvut.cz/arch/$repo/os/$arch
+              Server = http://gluttony.sin.cvut.cz/arch/$repo/os/$arch
+            dest: /etc/pacman.d/mirrorlist
         - name: sync repos (Arch)
           shell: pacman -Syu --noconfirm
       when: ansible_distribution_file_variety == 'Archlinux'