Add cleanup cronjob to koschei
This commit is contained in:
parent
7ef2204cf4
commit
ee649ba38c
2 changed files with 8 additions and 0 deletions
1
roles/koschei/files/cron-db-cleanup
Normal file
1
roles/koschei/files/cron-db-cleanup
Normal file
|
@ -0,0 +1 @@
|
||||||
|
0 4 * * * root koschei-admin cleanup --older-than 6
|
|
@ -99,3 +99,10 @@
|
||||||
tags:
|
tags:
|
||||||
- koschei
|
- koschei
|
||||||
- selinux
|
- selinux
|
||||||
|
|
||||||
|
- name: Copy the cleanup cronjob
|
||||||
|
copy: src="{{item}}" dest="/etc/cron.d/{{item}}"
|
||||||
|
with_items:
|
||||||
|
- cron-db-cleanup
|
||||||
|
tags:
|
||||||
|
- koschei
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue