forked from infra/ansible
fix logrotate to match file with date
This commit is contained in:
parent
e9734b9cdf
commit
69e11538ed
2 changed files with 6 additions and 2 deletions
|
|
@ -1,4 +1,8 @@
|
|||
/var/log/httpd/*log {
|
||||
/var/log/httpd/*log
|
||||
{% if ansible_hostname.startswith("kojipkgs") %}
|
||||
/var/log/httpd/*.log.????-??-??
|
||||
{% endif %}
|
||||
{
|
||||
daily
|
||||
rotate 7
|
||||
missingok
|
||||
Loading…
Add table
Add a link
Reference in a new issue