taskotron-trigger: download initial critpath file
This commit is contained in:
parent
9f8bb2dd44
commit
19ff1b3703
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue