system-config/playbooks/roles/logrotate
Dr. Jens Harbott 3cb97da403 logrotate: fix removal of old config files
The path was missing the right prefix

Change-Id: I217fb0799603fb954575df8f6108cae6c4d47c01
2023-07-10 20:36:59 +02:00
..
defaults logrotate: better rotation options 2019-10-01 09:00:53 +10:00
tasks logrotate: fix removal of old config files 2023-07-10 20:36:59 +02:00
templates logrotate: better rotation options 2019-10-01 09:00:53 +10:00
README.rst logrotate: don't use filename to generate config file 2023-02-14 07:03:17 +11:00

Add log rotation file

Note

This role does not manage the logrotate package or configuration directory, and it is assumed to be installed and available.

This role installs a log rotation file in /etc/logrotate.d/ for a given file.

For information on the directives see logrotate.conf(5). This is not an exhaustive list of directives (contributions are welcome).

** Role Variables **

The full path to log file on disk to rotate. May be a wild-card; e.g. /var/log/progname/*.log.