taskotron-prod: use find for cleaning artifacts and logs
This commit is contained in:
parent
ab19c8d9e5
commit
4637e79ef9
2 changed files with 0 additions and 9 deletions
|
@ -16,10 +16,5 @@
|
|||
notify:
|
||||
- reload httpd
|
||||
|
||||
- name: copy tmpwatch cronjob for taskotron artifacts and buildmaster
|
||||
template: src=taskotron-tmpwatch.cron.j2 dest=/etc/cron.d/taskotron-tmpwatch.cron owner=root group=root mode=0644
|
||||
when: deployment_type in ['prod', 'local']
|
||||
|
||||
- name: copy cronjob for cleaning old taskotron artifacts and buildmaster logs
|
||||
template: src=taskotron-clean.cron.j2 dest=/etc/cron.d/taskotron-clean.cron owner=root group=root mode=0644
|
||||
when: deployment_type in ['dev', 'stg']
|
||||
|
|
|
@ -1,4 +0,0 @@
|
|||
0 0 * * * {{ buildmaster_user }} tmpwatch -vv --dirmtime -m -f {{ artifacts_max_life }} {{ public_artifacts_dir }}
|
||||
10 0 * * * {{ buildmaster_user }} tmpwatch -vv --dirmtime -m -f {{ buildmaster_max_life }} {{ buildmaster_dir }}/x86_64
|
||||
20 0 * * * {{ buildmaster_user }} tmpwatch -vv --dirmtime -m -f {{ buildmaster_max_life }} {{ buildmaster_dir }}/i386
|
||||
30 0 * * * {{ buildmaster_user }} tmpwatch -vv --dirmtime -m -f {{ buildmaster_max_life }} {{ buildmaster_dir }}/all
|
Loading…
Add table
Add a link
Reference in a new issue