add logrotate for container mirrorlist logs
This commit is contained in:
parent
2b8337972d
commit
e192879482
2 changed files with 15 additions and 0 deletions
|
@ -0,0 +1,10 @@
|
||||||
|
/var/log/mirrormanager/*.log
|
||||||
|
{
|
||||||
|
compress
|
||||||
|
compresscmd /usr/bin/xz
|
||||||
|
uncompresscmd /usr/bin/xz
|
||||||
|
compressext .xz
|
||||||
|
daily
|
||||||
|
rotate 30
|
||||||
|
missingok
|
||||||
|
}
|
|
@ -36,6 +36,11 @@
|
||||||
tags:
|
tags:
|
||||||
- mirrorlist_proxy
|
- mirrorlist_proxy
|
||||||
|
|
||||||
|
- name: setup logrotate log for mirrormanager log files
|
||||||
|
copy: src=logrotate-mirrormanager dest=/etc/logrotate.d/mirrormanager
|
||||||
|
tags:
|
||||||
|
- mirrorlist_proxy
|
||||||
|
|
||||||
- name: Install docker
|
- name: Install docker
|
||||||
package: name={{item}} state=present
|
package: name={{item}} state=present
|
||||||
with_items:
|
with_items:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue