mirror-update: switch Fedora mirror
In our onging quest to find a stable upstream source, switch this to the facebook mirror which seems to have been working well enough for centos. While we're here, reduce the frequency a bit as there's no need to sync every two hours; it's a bit unfriendly to the remote end. Change-Id: I50f38b58b3f0c0557fb1e2e0667a17a4f1d1dec6
This commit is contained in:
parent
be3f421724
commit
bcb73dd2ac
@ -30,7 +30,7 @@ BASE="/afs/.openstack.org/mirror/fedora"
|
||||
# because upstream starting putting setgid bits on directories,
|
||||
# which you have to have admin permissions in AFS to set.
|
||||
# https://pagure.io/releng/issue/7921
|
||||
MIRROR="rsync://mirrors.us.kernel.org/fedora"
|
||||
MIRROR="rsync://mirror.facebook.net/fedora/linux"
|
||||
K5START="k5start -t -f /etc/fedora.keytab service/fedora-mirror -- ${TIMEOUT}"
|
||||
|
||||
echo_ts "----- START FEDORA MIRROR RSYNC RUN -----"
|
||||
|
@ -49,7 +49,7 @@
|
||||
name: '{{ item }} mirror sync'
|
||||
state: present
|
||||
job: 'flock -n /var/run/{{ item }}-mirror.lock {{ item }}-mirror-update mirror.{{ item }} >> /var/log/rsync-mirrors/{{ item }}.log 2>&1'
|
||||
hour: '*/2'
|
||||
hour: '*/6'
|
||||
minute: '{{ 45 | random(seed=item) }}'
|
||||
loop: '{{ rsync_update_scripts }}'
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user