reprepro: catch stderr of individual deb-docker runs
This should catch the stderr of each individual run into the separate logfile. Change-Id: Iace3511ee8ec876debfc7361ff814b1d181e1458
This commit is contained in:
parent
3ddbba92ae
commit
b22abc02ff
@ -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) }}'
|
||||
|
Loading…
x
Reference in New Issue
Block a user