system-config/playbooks/roles/logrotate
Clark Boylan 515abdec64 Cleanup opensuse mirroring configs entirely
This should cleanup our mirror update server so that we no longer have
configes (cron, scripts, logrotate rules, etc) for mirroring opensuse.
It won't clean up the afs volume, but we can get to that later (and it
will probably require manual intervention). This cleanup is done in a
way that it should be able to be applied to future cleanups too (like
when centos 8 stream goes away and everything is centos stream
specific).

Change-Id: Ib5d15ce800ff0620187345e1cfec0b7b5d65bee5
2024-03-18 15:49:43 -07:00
..
defaults logrotate: better rotation options 2019-10-01 09:00:53 +10:00
tasks Cleanup opensuse mirroring configs entirely 2024-03-18 15:49:43 -07: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

README.rst

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.