Merge "Merge mirror list for centos."

This commit is contained in:
Jenkins 2017-07-17 20:36:20 +00:00 committed by Gerrit Code Review
commit 79353be533
2 changed files with 11 additions and 0 deletions

View File

@ -96,6 +96,16 @@
tags:
- repo_server-install
- name: create yum merged mirror list
shell: |
curl https://www.centos.org/download/full-mirrorlist.csv | sed 's/^.*"http:/http:/' | sed 's/".*$//' | grep ^http >/etc/apt-cacher-ng/centos_mirrors
echo "http://mirror.centos.org/centos/" >>/etc/apt-cacher-ng/centos_mirrors
when:
- ansible_pkg_mgr == 'yum'
tags:
- repo_server-config
- skip_ansible_lint
- name: Drop acng.conf
template:
src: "acng.conf.j2"

View File

@ -13,6 +13,7 @@ Remap-alxrep: file:archlx_mirrors /archlinux # ; file:backend_archlx # Arch Linu
Remap-fedora: file:fedora_mirrors # Fedora Linux
Remap-epel: file:epel_mirrors # Fedora EPEL
Remap-slrep: file:sl_mirrors # Scientific Linux
Remap-centos: file:centos_mirrors /centos #centos
ReportPage: acng-report.html
PidFile: /var/run/apt-cacher-ng
ExTreshold: 4