taskotron-trigger: add cronjobs only on dev for now
This commit is contained in:
parent
7a7cc473be
commit
89a8cc24da
1 changed files with 2 additions and 0 deletions
|
@ -46,6 +46,7 @@
|
|||
special_time=daily
|
||||
user=fedmsg
|
||||
job="wget -O {{ trigger_critpath_file }} https://admin.fedoraproject.org/pkgdb/api/critpath?format=json"
|
||||
when: deployment_type in ['dev']
|
||||
|
||||
- name: create a cronjob to clear distgit cache
|
||||
cron:
|
||||
|
@ -53,6 +54,7 @@
|
|||
special_time=daily
|
||||
user=fedmsg
|
||||
job="tmpwatch -vv --dirmtime -m -f 12h {{ trigger_cache_dir }}"
|
||||
when: deployment_type in ['dev']
|
||||
|
||||
- name: start and enable fedmsg-hub service
|
||||
service: name=fedmsg-hub enabled=yes state=started
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue