Change download-sync location and update script.
The download-sync for rdu-cc needs to use the /root versus default quick-fedora-mirror git repository. This allows for it to only copy the modules needed. Signed-off-by: Stephen Smoogen <ssmoogen@redhat.com>
This commit is contained in:
parent
9f94667b1f
commit
c1014c4a8c
2 changed files with 3 additions and 1 deletions
2
files/download/download-sync.cron.cc-rdu01
Normal file
2
files/download/download-sync.cron.cc-rdu01
Normal file
|
@ -0,0 +1,2 @@
|
|||
# Run quick mirror fedora every 10minutes
|
||||
*/10 * * * * root flock -n -E0 /tmp/download-sync -c '/root/quick-fedora-mirror/quick-fedora-mirror -c /root/quick-fedora-mirror.conf'
|
|
@ -70,7 +70,7 @@
|
|||
copy: src="{{ files }}/download/sync-up-downloads.sh.cc-rdu01" dest=/usr/local/bin/sync-up-downloads owner=root group=root mode=755
|
||||
when: inventory_hostname == 'download-cc-rdu01.fedoraproject.org'
|
||||
- name: put in cron job for syncing
|
||||
copy: src="{{ files }}/download/download-sync.cron.ib01" dest=/etc/cron.d/download-sync owner=root group=root mode=644
|
||||
copy: src="{{ files }}/download/download-sync.cron.cc-rdu01" dest=/etc/cron.d/download-sync owner=root group=root mode=644
|
||||
when: inventory_hostname == 'download-cc-rdu01.fedoraproject.org'
|
||||
|
||||
handlers:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue