websites: disable fedoraproject sync on-demand
This commit is contained in:
parent
d3d07df333
commit
d30cfdd2cf
3 changed files with 2 additions and 2 deletions
|
@ -1 +0,0 @@
|
|||
25 * * * * root /usr/local/bin/lock-wrapper fedoraprojectsync /usr/local/sbin/fedoraproject-sync >& /dev/null
|
|
@ -17,7 +17,7 @@
|
|||
- fedora-web/main
|
||||
|
||||
- name: Copy in the sync-fedora-web-v3 cronjob
|
||||
ansible.builtin.copy:
|
||||
ansible.builtin.template:
|
||||
src: cron-sync-fedora-web-v3
|
||||
dest: /etc/cron.d/sync-fedora-web
|
||||
tags:
|
||||
|
|
1
roles/fedora-web/main/templates/cron-sync-fedora-web-v3
Normal file
1
roles/fedora-web/main/templates/cron-sync-fedora-web-v3
Normal file
|
@ -0,0 +1 @@
|
|||
{{ "# " if disable_sync is defined }}25 * * * * root /usr/local/bin/lock-wrapper fedoraprojectsync /usr/local/sbin/fedoraproject-sync >& /dev/null
|
Loading…
Add table
Add a link
Reference in a new issue