]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-cm-ansible.git/commitdiff
testnode: Fix CentOS repo mirrorlists 565/head
authorDavid Galloway <dgallowa@redhat.com>
Sun, 26 Apr 2020 15:48:00 +0000 (11:48 -0400)
committerDavid Galloway <dgallowa@redhat.com>
Sun, 26 Apr 2020 15:48:00 +0000 (11:48 -0400)
I think there used to be individual directories with the ansible_lsb.release in the path but now there only seems to be "8" and "8.1.1911" so we'll just use 8.

Signed-off-by: David Galloway <dgallowa@redhat.com>
roles/testnode/templates/mirrorlists/8/CentOS-AppStream-mirrorlist
roles/testnode/templates/mirrorlists/8/CentOS-Base-mirrorlist
roles/testnode/templates/mirrorlists/8/CentOS-Extras-mirrorlist

index 4c2e65b50bc57e59fc0220e64d7654dba2e4c348..bdd801c890945e846787e4aaa28692fe3a7939b8 100644 (file)
@@ -1,7 +1,7 @@
 # {{ ansible_managed }}
 
 # local yum mirrorlist for CentOS-8 - AppStream repo
-https://download-cc-rdu01.fedoraproject.org/pub/centos/{{ ansible_lsb.release }}/AppStream/x86_64/os/
-http://mirror.linux.duke.edu/pub/centos/{{ ansible_lsb.release }}/AppStream/x86_64/os/
-http://packages.oit.ncsu.edu/centos/{{ ansible_lsb.release }}/AppStream/x86_64/os/
-http://distro.ibiblio.org/centos/{{ ansible_lsb.release }}/AppStream/x86_64/os/
+https://download-cc-rdu01.fedoraproject.org/pub/centos/{{ ansible_distribution_major_version }}/AppStream/x86_64/os/
+http://mirror.linux.duke.edu/pub/centos/{{ ansible_distribution_major_version }}/AppStream/x86_64/os/
+http://packages.oit.ncsu.edu/centos/{{ ansible_distribution_major_version }}/AppStream/x86_64/os/
+http://distro.ibiblio.org/centos/{{ ansible_distribution_major_version }}/AppStream/x86_64/os/
index 90764d80a0966b4964df8604bb3ddadb5c0afdc9..f345a639c14b0b34b1ff8d2ccfc099960530399f 100644 (file)
@@ -1,7 +1,7 @@
 # {{ ansible_managed }}
 
 # local yum mirrorlist for CentOS-8 - Base repo
-https://download-cc-rdu01.fedoraproject.org/pub/centos/{{ ansible_lsb.release }}/BaseOS/x86_64/os/
-http://mirror.linux.duke.edu/pub/centos/{{ ansible_lsb.release }}/BaseOS/x86_64/os/
-http://packages.oit.ncsu.edu/centos/{{ ansible_lsb.release }}/BaseOS/x86_64/os/
-http://distro.ibiblio.org/centos/{{ ansible_lsb.release }}/BaseOS/x86_64/os/
+https://download-cc-rdu01.fedoraproject.org/pub/centos/{{ ansible_distribution_major_version }}/BaseOS/x86_64/os/
+http://mirror.linux.duke.edu/pub/centos/{{ ansible_distribution_major_version }}/BaseOS/x86_64/os/
+http://packages.oit.ncsu.edu/centos/{{ ansible_distribution_major_version }}/BaseOS/x86_64/os/
+http://distro.ibiblio.org/centos/{{ ansible_distribution_major_version }}/BaseOS/x86_64/os/
index c25f341816b32b2edd266156bd806b7ed9b2e260..6edc6ddc7751327a235fadc7cb6eb6f411f02dd5 100644 (file)
@@ -1,7 +1,7 @@
 # {{ ansible_managed }}
 
 # local yum mirrorlist for CentOS-8 - Extras repo
-https://download-cc-rdu01.fedoraproject.org/pub/centos/{{ ansible_lsb.release }}/extras/x86_64/os/
-http://mirror.linux.duke.edu/pub/centos/{{ ansible_lsb.release }}/extras/x86_64/os/
-http://packages.oit.ncsu.edu/centos/{{ ansible_lsb.release }}/extras/x86_64/os/
-http://distro.ibiblio.org/centos/{{ ansible_lsb.release }}/extras/x86_64/os/
+https://download-cc-rdu01.fedoraproject.org/pub/centos/{{ ansible_distribution_major_version }}/extras/x86_64/os/
+http://mirror.linux.duke.edu/pub/centos/{{ ansible_distribution_major_version }}/extras/x86_64/os/
+http://packages.oit.ncsu.edu/centos/{{ ansible_distribution_major_version }}/extras/x86_64/os/
+http://distro.ibiblio.org/centos/{{ ansible_distribution_major_version }}/extras/x86_64/os/