mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 20:16:58 +08:00
add logrotate for container mirrorlist logs
This commit is contained in:
@@ -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:
|
||||
- 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
|
||||
package: name={{item}} state=present
|
||||
with_items:
|
||||
|
||||
Reference in New Issue
Block a user