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:
Miroslav Suchý 2016-07-14 16:36:11 +02:00
parent ffeb625ef8
commit 0113684f11

View file

@ -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