mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-25 02:50:15 +08:00
websites: disable fedoraproject sync on-demand
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user