Add the sync-fedora-web cronjob.

This commit is contained in:
Ralph Bean 2014-12-12 17:23:44 +00:00
parent 9ab6c82329
commit 157f22c05b
2 changed files with 7 additions and 8 deletions

View file

@ -0,0 +1,2 @@
# TODO: Make add some locking to this.
25 * * * * root /usr/bin/rsync --delete -a --no-owner --no-group bapp02::fedoraproject.org/ /srv/web/fedoraproject.org/

View file

@ -1,11 +1,8 @@
# TODO -- still port this cronjob
# cron { "sync-fedora-web":
# # TODO: Make add some locking to this.
# command => "/usr/bin/rsync --delete -a --no-owner --no-group bapp02::fedoraproject.org/ /srv/web/fedoraproject.org/",
# user => "root",
# minute => 25,
# }
- name: Copy in the sync-fedora-web cronjob
copy: src=cron-sync-fedora-web dest=/etc/cron.d/sync-fedora-web
tags:
- fedora-web
- fedora-web/main
- name: Copy some config files for {{website}}
copy: >