reprepro: only rotate .log files

It seems we're trying to rotate everything in this directory, leading
to an ever increasing set of weird rotation files as old rotations get
rotated themselves.

Change-Id: Ifd53879061baac35253782126367016b74a9cb70
This commit is contained in:
Ian Wienand 2021-01-18 08:29:49 +11:00
parent f56f3f5492
commit 6b63afaa21

View File

@ -53,7 +53,7 @@
include_role: include_role:
name: logrotate name: logrotate
vars: vars:
logrotate_file_name: '/var/log/reprepro/*' logrotate_file_name: '/var/log/reprepro/*.log'
logrotate_config_file_name: 'reprepro' logrotate_config_file_name: 'reprepro'
logrotate_frequency: 'weekly' logrotate_frequency: 'weekly'