3cb97da403
The path was missing the right prefix Change-Id: I217fb0799603fb954575df8f6108cae6c4d47c01 |
||
---|---|---|
.. | ||
defaults | ||
tasks | ||
templates | ||
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
.