aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/common/templates/cron-logrotate-cloudkitty.conf.j23
-rw-r--r--ansible/roles/common/templates/cron.json.j223
2 files changed, 25 insertions, 1 deletions
diff --git a/ansible/roles/common/templates/cron-logrotate-cloudkitty.conf.j2 b/ansible/roles/common/templates/cron-logrotate-cloudkitty.conf.j2
new file mode 100644
index 000000000..2dada642d
--- /dev/null
+++ b/ansible/roles/common/templates/cron-logrotate-cloudkitty.conf.j2
@@ -0,0 +1,3 @@
+"/var/log/kolla/cloudkitty/*.log"
+{
+}
diff --git a/ansible/roles/common/templates/cron.json.j2 b/ansible/roles/common/templates/cron.json.j2
index 65855b2be..4e4c5dd6c 100644
--- a/ansible/roles/common/templates/cron.json.j2
+++ b/ansible/roles/common/templates/cron.json.j2
@@ -1,5 +1,26 @@
{% set cron_cmd = 'cron -f' if kolla_base_distro in ['ubuntu', 'debian'] else 'crond -s -n' %}
-{% set services = ["ansible", "aodh", "barbican", "cinder", "glance", "gnocchi", "haproxy", "heat", "keepalived", "keystone", "magnum", "manila", "mariadb", "mistral", "murano", "neutron", "nova", "rabbitmq", "swift"] %}
+{% set services = [
+ "ansible",
+ "aodh",
+ "barbican",
+ "cinder",
+ "cloudkitty",
+ "glance",
+ "gnocchi",
+ "haproxy",
+ "heat",
+ "keepalived",
+ "keystone",
+ "magnum",
+ "manila",
+ "mariadb",
+ "mistral",
+ "murano",
+ "neutron",
+ "nova",
+ "rabbitmq",
+ "swift"
+] %}
{
"command": "{{ cron_cmd }}",
"config_files": [