#285 Change download-sync location and update script.
Merged 3 years ago by smooge. Opened 3 years ago by smooge.
Unknown source master  into  master

@@ -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:

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

:thumbsup: for me as well

Pull-Request has been merged by smooge

3 years ago