
We've split out fluentd to move it earlier in the deployment workflow - cron and kolla-toolbox are currently the only components in common role. Splitting it out will help with limiting kolla-ansible to reconfigure only services managed by cron role. Change-Id: Ia74c7d1e78e9d756a83c8adc7d9d8d9adb371751 Signed-off-by: Michal Nasiadka <mnasiadka@gmail.com>
19 lines
619 B
Django/Jinja
19 lines
619 B
Django/Jinja
{% set cron_cmd = 'cron -f' if kolla_base_distro in ['ubuntu', 'debian'] else 'crond -s -n' %}
|
|
{
|
|
"command": "{{ cron_cmd }}",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/logrotate.conf",
|
|
"dest": "/etc/logrotate.conf",
|
|
"owner": "root",
|
|
"perm": "0600"
|
|
}{% if kolla_copy_ca_into_containers | bool %},
|
|
{
|
|
"source": "{{ container_config_directory }}/ca-certificates",
|
|
"dest": "/var/lib/kolla/share/ca-certificates",
|
|
"owner": "root",
|
|
"perm": "0600"
|
|
}{% endif %}
|
|
]
|
|
}
|