[ftpsync] Add Ubuntu mirror configuration

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
certbot_on_virtu
Yohann D'ANELLO 2021-11-06 22:01:12 +01:00
parent 89fbf94f50
commit bb92cf6820
Signed by: _ynerant
GPG Key ID: 3A75C55819C8CF85
2 changed files with 8 additions and 2 deletions

View File

@ -19,9 +19,14 @@ glob_ftpsync:
rsync_path: debian-security rsync_path: debian-security
- name: backports - name: backports
dest: debian-backports dest: debian-backports
cron_time: " 7 3,15" cron_time: "07 3,15"
rsync_host: ftp.fr.debian.org rsync_host: ftp.fr.debian.org
rsync_path: debian-backports rsync_path: debian-backports
- name: ubuntu
dest: ubuntu
cron_time: "43 5,17"
rsync_host: fr.archive.ubuntu.com
rsync_path: ubuntu
glob_rsync_mirror: glob_rsync_mirror:
root: /mirror/pub root: /mirror/pub
@ -70,7 +75,7 @@ glob_rsync_mirror:
rsync_path: cdimage/ubuntu-mate/releases rsync_path: cdimage/ubuntu-mate/releases
- name: archlinux - name: archlinux
dest: archlinux dest: archlinux
cron_time: "08 3" cron_time: "08 3,15"
rsync_host: archlinux.polymorf.fr rsync_host: archlinux.polymorf.fr
rsync_path: archlinux/ rsync_path: archlinux/

View File

@ -19,6 +19,7 @@ set _tilde 0
{% for target in apt_mirror.targets %} {% for target in apt_mirror.targets %}
{% for suite in target.suite %} {% for suite in target.suite %}
deb {{ target.scheme }}://{{ target.host }}/{{ target.path }} {{ suite }}{% for component in target.components %} {{ component }}{% endfor %} deb {{ target.scheme }}://{{ target.host }}/{{ target.path }} {{ suite }}{% for component in target.components %} {{ component }}{% endfor %}
{% endfor %} {% endfor %}
clean {{ target.scheme }}://{{ target.host }}/{{ target.path }} clean {{ target.scheme }}://{{ target.host }}/{{ target.path }}