mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-06-27 23:57:02 +08:00
taskotron-trigger: download initial critpath file
This commit is contained in:
@@ -40,12 +40,15 @@
|
||||
notify:
|
||||
- restart crond
|
||||
|
||||
- name: download critpath list
|
||||
get_url: url={{ trigger_critpath_url }} dest={{ trigger_critpath_file }} mode=0644 owner=fedmsg group=fedmsg
|
||||
|
||||
- name: create a cronjob to download crithpath list as a task-libabigail whitelist
|
||||
cron:
|
||||
name="download crithpath list"
|
||||
special_time=daily
|
||||
user=fedmsg
|
||||
job="wget -O {{ trigger_critpath_file }} https://admin.fedoraproject.org/pkgdb/api/critpath?format=json"
|
||||
job="wget -O {{ trigger_critpath_file }} {{ trigger_critpath_url }}"
|
||||
when: deployment_type in ['dev']
|
||||
|
||||
- name: create a cronjob to clear distgit cache
|
||||
|
||||
Reference in New Issue
Block a user