diff --git a/playbooks/roles/reprepro/tasks/docker.yaml b/playbooks/roles/reprepro/tasks/docker.yaml index 632561e50f..82647b4e28 100644 --- a/playbooks/roles/reprepro/tasks/docker.yaml +++ b/playbooks/roles/reprepro/tasks/docker.yaml @@ -27,7 +27,7 @@ - name: Install update cron jobs cron: name: 'Debian Docker reprepro mirror sync' - job: 'flock -n /var/run/reprepro/debian-docker.lock bash -c "for DISTRO in xenial bionic focal; do reprepro-mirror-update /etc/reprepro/debian-docker-\$DISTRO mirror.deb-docker >>/var/log/reprepro/debian-docker-\$DISTRO-mirror.log; done" 2>&1' + job: 'flock -n /var/run/reprepro/debian-docker.lock bash -c "for DISTRO in xenial bionic focal; do reprepro-mirror-update /etc/reprepro/debian-docker-\$DISTRO mirror.deb-docker >>/var/log/reprepro/debian-docker-\$DISTRO-mirror.log 2>&1; done"' state: present hour: '*/2' minute: '{{ 45 | random(seed=inventory_hostname) }}'