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
|
- dist-git-selinux
|
||||||
- copr-dist-git
|
- copr-dist-git
|
||||||
- rdiff-backup
|
- rdiff-backup
|
||||||
|
- tmpwatch
|
||||||
|
|
||||||
- name: switch selinux to permissive
|
- name: switch selinux to permissive
|
||||||
selinux: policy=targeted state=permissive
|
selinux: policy=targeted state=permissive
|
||||||
|
@ -166,6 +167,8 @@
|
||||||
tags:
|
tags:
|
||||||
- config
|
- 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
|
- name: ensure that services are enabled and started
|
||||||
service: name="{{ item }}" enabled=yes state=started
|
service: name="{{ item }}" enabled=yes state=started
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue