mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-05-04 20:30:41 +08:00
Add cleanup cronjob to koschei
This commit is contained in:
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:
|
||||
- koschei
|
||||
- selinux
|
||||
|
||||
- name: Copy the cleanup cronjob
|
||||
copy: src="{{item}}" dest="/etc/cron.d/{{item}}"
|
||||
with_items:
|
||||
- cron-db-cleanup
|
||||
tags:
|
||||
- koschei
|
||||
|
||||
Reference in New Issue
Block a user