taskotron-trigger: disable critpath downloading on dev

This commit is contained in:
Kamil Páral 2018-07-04 14:37:36 +02:00
parent 8f7596d509
commit d4d4a3eab4

View file

@ -53,12 +53,14 @@
- name: download critpath list
get_url: url={{ trigger_critpath_url }} dest={{ trigger_critpath_file }} mode=0644 owner=fedmsg group=fedmsg
when: deployment_type in ['stg', 'prod']
- name: create a cronjob to download crithpath list as a task-libabigail whitelist
cron:
name="download crithpath list"
special_time=daily
job="{ wget -O {{ trigger_critpath_file }} {{ trigger_critpath_url }}; chown fedmsg:fedmsg {{ trigger_critpath_file }}; } >& /dev/null"
when: deployment_type in ['stg', 'prod']
- name: copy tmpfiles.d for trigger distgit cache
template: src=tmpfiles.d.trigger.conf.j2 dest=/etc/tmpfiles.d/trigger.conf owner=root group=root mode=0644