Add the sync-fedora-web cronjob.
This commit is contained in:
parent
9ab6c82329
commit
157f22c05b
2 changed files with 7 additions and 8 deletions
2
roles/fedora-web/main/files/cron-sync-fedora-web
Normal file
2
roles/fedora-web/main/files/cron-sync-fedora-web
Normal 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/
|
|
@ -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: >
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue