websites: disable fedoraproject sync on-demand

This commit is contained in:
Francois Andrieu 2025-03-31 13:45:59 +02:00 committed by kevin
parent d3d07df333
commit d30cfdd2cf
3 changed files with 2 additions and 2 deletions

View file

@ -1 +0,0 @@
25 * * * * root /usr/local/bin/lock-wrapper fedoraprojectsync /usr/local/sbin/fedoraproject-sync >& /dev/null

View file

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

View file

@ -0,0 +1 @@
{{ "# " if disable_sync is defined }}25 * * * * root /usr/local/bin/lock-wrapper fedoraprojectsync /usr/local/sbin/fedoraproject-sync >& /dev/null