kolla-ansible/ansible/roles/common/templates/cron-logrotate-global.conf.j2
Michal Arbet f3d5425808 Make cron logfile minsize,maxsize configurable
This patch is moving minsize and maxsize logrotate
options to defaults and use them in template.

Change-Id: Ic2dfc747faedef8a7a4bc5e61db7c0cb5bf93e88
2021-12-31 09:44:08 +00:00

25 lines
367 B
Django/Jinja

{{ cron_logrotate_rotation_interval }}
rotate {{ cron_logrotate_rotation_count }}
copytruncate
compress
delaycompress
notifempty
missingok
minsize {{ cron_logrotate_log_minsize }}
maxsize {{ cron_logrotate_log_maxsize }}
su root kolla
{% for service in cron_logrotate_enabled_services %}
{% include "cron-logrotate-" ~ service ~ ".conf.j2" %}
{% endfor %}