aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/cron/templates/cron-logrotate-global.conf.j2
blob: f57a2e03473d172c82e29345af4698f0de9d7630 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{{ 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 %}