You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
A number of logrotate configurations come pre-defined in /etc/logrotate.d/. If this role is used to define the configuration for a path that is already configured, logrotate reports:
error: <basename(path)>:3 duplicate log entry for <path>
and then it looks like it gives precedence to the configuration defined in the file with the name of the lowest lowest lexicographic ordering.
It would be good if there was a way of removing any other other configurations to ensure that that set by this role gets run.
The text was updated successfully, but these errors were encountered:
colin-nolan
pushed a commit
to wtsi-hgi/ansible-logrotate
that referenced
this issue
May 8, 2017
Removing files should be done with the Ansible file module with a state of absent, this role and most roles should not be destructive in their operations.
A number of logrotate configurations come pre-defined in
/etc/logrotate.d/
. If this role is used to define the configuration for a path that is already configured, logrotate reports:and then it looks like it gives precedence to the configuration defined in the file with the name of the lowest lowest lexicographic ordering.
It would be good if there was a way of removing any other other configurations to ensure that that set by this role gets run.
The text was updated successfully, but these errors were encountered: