Merge "Add way to change logrotate scheduling"
This commit is contained in:
commit
97db1b89d7
@ -30,6 +30,7 @@ common_services:
|
||||
image: "{{ cron_image_full }}"
|
||||
environment:
|
||||
DUMMY_ENVIRONMENT: kolla_useless_env
|
||||
KOLLA_LOGROTATE_SCHEDULE: "{{ cron_logrotate_schedule }}"
|
||||
volumes: "{{ cron_default_volumes + cron_extra_volumes }}"
|
||||
dimensions: "{{ cron_dimensions }}"
|
||||
|
||||
@ -97,6 +98,7 @@ fluentd_extra_volumes: "{{ default_extra_volumes }}"
|
||||
|
||||
cron_logrotate_rotation_interval: "weekly"
|
||||
cron_logrotate_rotation_count: 6
|
||||
cron_logrotate_schedule: "daily"
|
||||
|
||||
####################
|
||||
# Fluentd
|
||||
|
@ -0,0 +1,6 @@
|
||||
---
|
||||
features:
|
||||
- |
|
||||
Adds a new variable to be used by the common role,
|
||||
``cron_logrotate_schedule``. This allows to configure
|
||||
how often the cron runs for logrotate.
|
Loading…
Reference in New Issue
Block a user