diff --git a/group_vars/mirror_backend.yml b/group_vars/mirror_backend.yml index 340828c9bfdedde36be1fd8d0a2dc3a6d786d0cc..98239336c5dfbf881e40e8b76240d14f0a9cfe59 100644 --- a/group_vars/mirror_backend.yml +++ b/group_vars/mirror_backend.yml @@ -19,9 +19,14 @@ glob_ftpsync: rsync_path: debian-security - name: backports dest: debian-backports - cron_time: " 7 3,15" + cron_time: "07 3,15" rsync_host: ftp.fr.debian.org 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: root: /mirror/pub @@ -70,7 +75,7 @@ glob_rsync_mirror: rsync_path: cdimage/ubuntu-mate/releases - name: archlinux dest: archlinux - cron_time: "08 3" + cron_time: "08 3,15" rsync_host: archlinux.polymorf.fr rsync_path: archlinux/ diff --git a/roles/apt-mirror/templates/apt/mirror.list.j2 b/roles/apt-mirror/templates/apt/mirror.list.j2 index 58b7a46b39fa7d443092a6cccd73b192ade9e3a1..796d91b0a203c984fc116448cb04c662adfacc6f 100644 --- a/roles/apt-mirror/templates/apt/mirror.list.j2 +++ b/roles/apt-mirror/templates/apt/mirror.list.j2 @@ -19,6 +19,7 @@ set _tilde 0 {% for target in apt_mirror.targets %} {% for suite in target.suite %} deb {{ target.scheme }}://{{ target.host }}/{{ target.path }} {{ suite }}{% for component in target.components %} {{ component }}{% endfor %} + {% endfor %} clean {{ target.scheme }}://{{ target.host }}/{{ target.path }}