Use syncproxy for mirror sources

certbot_on_virtu
Alexandre Iooss 2020-03-30 23:14:04 +02:00
parent b7d33d4e09
commit 975220d174
No known key found for this signature in database
GPG Key ID: 6C79278F3FCDCC02
2 changed files with 16 additions and 22 deletions

View File

@ -1,6 +1,6 @@
# {{ ansible_managed }}
# MIRRORNAME=`hostname -f`
MIRRORNAME="CRANS"
TO="{{ item.dest }}"
MAILTO="root"
# HUB=false
@ -18,11 +18,11 @@ RSYNC_PATH="{{ item.rsync_path }}"
## Mirror information options
########################################################################
# INFO_MAINTAINER="Admins <admins@example.com>, Person <person@example.com>"
INFO_MAINTAINER="Les Nounous <contact@crans.org>"
# INFO_SPONSOR="Example <https://example.com>"
# INFO_COUNTRY=DE
# INFO_LOCATION="Example"
# INFO_THROUGHPUT=10Gb
INFO_COUNTRY=FR
INFO_LOCATION="Cachan, Île-de-France"
INFO_THROUGHPUT=1Gb
########################################################################
## Include and exclude options

View File

@ -39,38 +39,32 @@
- name: main
dest: /pubftp/pub/debian/
cron_time: "25 1,13"
rsync_host: ftp.fr.debian.org
rsync_host: syncproxy3.eu.debian.org
rsync_path: debian
- name: security
dest: /pubftp/pub/debian-security/
cron_time: "40 *"
rsync_host: ftp.fr.debian.org
rsync_host: syncproxy3.eu.debian.org
rsync_path: debian-security
- name: backports
dest: /pubftp/pub/debian-backports/
cron_time: " 7 3,15"
rsync_host: ftp.fr.debian.org
rsync_path: debian-backports
- name: ports
dest: /pubftp/pub/debian-ports/
cron_time: " 7 3,15"
rsync_host: deb.debian.org
rsync_host: syncproxy3.eu.debian.org
rsync_path: debian-ports
- name: multimedia
dest: /pubftp/pub/debian-multimedia/
cron_time: "49 4,16"
rsync_host: www.deb-multimedia.org
rsync_path: deb
- name: backports
dest: /pubftp/pub/debian-backports/
cron_time: " 7 3,15"
rsync_host: syncproxy3.eu.debian.org
rsync_path: debian-backports
- name: ubuntu
dest: /pubftp/pub/ubuntu/
cron_time: "55 5,17"
rsync_host: ftp.lip6.fr
rsync_path: Ubuntu/archive/
rsync_host: wahoo.canonical.com
rsync_path: ubuntu
rsync_mirror:
- name: videolan
@ -83,7 +77,7 @@
dest: /pubftp/pub/distributions/linux/ubuntu
cron_time: "00 5"
rsync_host: cdimage.ubuntu.com
rsync_path: cdimage/ubuntu/releases
rsync_path: cdimage/releases
- name: xubuntu
dest: /pubftp/pub/distributions/linux/xubuntu