copr: clean /tmp periodicaly
this is needed mainly due rpm2gem which left files behind See: https://github.com/fedora-ruby/gem2rpm/issues/85
This commit is contained in:
parent
ffeb625ef8
commit
0113684f11
1 changed files with 3 additions and 0 deletions
|
@ -12,6 +12,7 @@
|
|||
- dist-git-selinux
|
||||
- copr-dist-git
|
||||
- rdiff-backup
|
||||
- tmpwatch
|
||||
|
||||
- name: switch selinux to permissive
|
||||
selinux: policy=targeted state=permissive
|
||||
|
@ -166,6 +167,8 @@
|
|||
tags:
|
||||
- config
|
||||
|
||||
- name: set up tmpwatch cron job
|
||||
cron: name="clean tmp" minute="0" job="/usr/sbin/tmpwatch 2h /tmp/"
|
||||
|
||||
- name: ensure that services are enabled and started
|
||||
service: name="{{ item }}" enabled=yes state=started
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue