Merge "Make cron logfile minsize,maxsize configurable"
This commit is contained in:
commit
02a3cbcde3
@ -118,6 +118,8 @@ kolla_toolbox_extra_volumes: "{{ default_extra_volumes }}"
|
||||
cron_extra_volumes: "{{ default_extra_volumes }}"
|
||||
fluentd_extra_volumes: "{{ default_extra_volumes }}"
|
||||
|
||||
cron_logrotate_log_maxsize: "100M"
|
||||
cron_logrotate_log_minsize: "30M"
|
||||
cron_logrotate_rotation_interval: "weekly"
|
||||
cron_logrotate_rotation_count: 6
|
||||
cron_logrotate_schedule: "daily"
|
||||
|
@ -12,9 +12,9 @@ notifempty
|
||||
|
||||
missingok
|
||||
|
||||
minsize 30M
|
||||
minsize {{ cron_logrotate_log_minsize }}
|
||||
|
||||
maxsize 100M
|
||||
maxsize {{ cron_logrotate_log_maxsize }}
|
||||
|
||||
su root kolla
|
||||
|
||||
|
@ -0,0 +1,7 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Adds new variables to be used by the common role,
|
||||
``cron_logrotate_log_minsize`` and ``cron_logrotate_log_maxsize``.
|
||||
They allow to configure global logrotate's minsize and maxsize
|
||||
options.
|
Loading…
Reference in New Issue
Block a user