fedora-web/mirrors role.

This commit is contained in:
Ralph Bean 2014-12-12 19:01:58 +00:00
parent fcb63d0b16
commit e5201e55fd
3 changed files with 20 additions and 0 deletions

View file

@ -0,0 +1 @@
25 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group bapp02::mirrors.fedoraproject.org/ /srv/web/mirrors.fedoraproject.org/

View file

@ -0,0 +1,2 @@
DocumentRoot /srv/web/mirrors.fedoraproject.org
Alias /favicon.ico /srv/web/fedoraproject.org/static/images/favicon.ico

View file

@ -0,0 +1,17 @@
- name: Copy in the sync-mirrors cronjob
copy: src=cron-sync-mirrors dest=/etc/cron.d/sync-mirrors
tags:
- fedora-web
- fedora-web/mirrors
- name: Copy some config files for {{website}}
copy: >
src={{item}} dest=/etc/httpd/conf.d/{{website}}/{{item}}
owner=root group=root mode=0644
with_items:
- mirrors.conf
notify:
- restart httpd
tags:
- fedora-web
- fedora-web/mirrors