From 6b63afaa2138b3aa73f64ea70bd66c48fe19dbad Mon Sep 17 00:00:00 2001 From: Ian Wienand Date: Mon, 18 Jan 2021 08:29:49 +1100 Subject: [PATCH] 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 --- playbooks/roles/reprepro/tasks/main.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/reprepro/tasks/main.yaml b/playbooks/roles/reprepro/tasks/main.yaml index 916f6578c1..6f60848b92 100644 --- a/playbooks/roles/reprepro/tasks/main.yaml +++ b/playbooks/roles/reprepro/tasks/main.yaml @@ -53,7 +53,7 @@ include_role: name: logrotate vars: - logrotate_file_name: '/var/log/reprepro/*' + logrotate_file_name: '/var/log/reprepro/*.log' logrotate_config_file_name: 'reprepro' logrotate_frequency: 'weekly'