taskotron-trigger: disable critpath downloading on dev
This commit is contained in:
parent
8f7596d509
commit
d4d4a3eab4
1 changed files with 2 additions and 0 deletions
|
@ -53,12 +53,14 @@
|
||||||
|
|
||||||
- name: download critpath list
|
- name: download critpath list
|
||||||
get_url: url={{ trigger_critpath_url }} dest={{ trigger_critpath_file }} mode=0644 owner=fedmsg group=fedmsg
|
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
|
- name: create a cronjob to download crithpath list as a task-libabigail whitelist
|
||||||
cron:
|
cron:
|
||||||
name="download crithpath list"
|
name="download crithpath list"
|
||||||
special_time=daily
|
special_time=daily
|
||||||
job="{ wget -O {{ trigger_critpath_file }} {{ trigger_critpath_url }}; chown fedmsg:fedmsg {{ trigger_critpath_file }}; } >& /dev/null"
|
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
|
- 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
|
template: src=tmpfiles.d.trigger.conf.j2 dest=/etc/tmpfiles.d/trigger.conf owner=root group=root mode=0644
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue