diff --git a/ansible/roles/common/tasks/config.yml b/ansible/roles/common/tasks/config.yml index 0f6914265f7d40cffba181fefae02b68d833ddef..2f608f2b022d2f7b6eb36b8884d835c26c7b84b1 100644 --- a/ansible/roles/common/tasks/config.yml +++ b/ansible/roles/common/tasks/config.yml @@ -263,6 +263,7 @@ - { name: "grafana", enabled: "{{ enable_grafana }}" } - { name: "haproxy", enabled: "{{ enable_haproxy }}" } - { name: "heat", enabled: "{{ enable_heat }}" } + - { name: "horizon", enabled: "{{ enable_horizon }}" } - { name: "influxdb", enabled: "{{ enable_influxdb }}" } - { name: "ironic", enabled: "{{ enable_ironic }}" } - { name: "ironic-inspector", enabled: "{{ enable_ironic }}" } diff --git a/ansible/roles/common/templates/cron-logrotate-horizon.conf.j2 b/ansible/roles/common/templates/cron-logrotate-horizon.conf.j2 new file mode 100644 index 0000000000000000000000000000000000000000..f346694f48d77cd3e6f706d5ffd06c84c6ca51db --- /dev/null +++ b/ansible/roles/common/templates/cron-logrotate-horizon.conf.j2 @@ -0,0 +1,3 @@ +"/var/log/kolla/horizon/*.log" +{ +} diff --git a/ansible/roles/common/templates/cron.json.j2 b/ansible/roles/common/templates/cron.json.j2 index b8517b2452dd0364457517fc3810005bbb8350c2..593e2f617855f7035bf6c31d2ceb2269f0e8a996 100644 --- a/ansible/roles/common/templates/cron.json.j2 +++ b/ansible/roles/common/templates/cron.json.j2 @@ -21,6 +21,7 @@ ( 'grafana', enable_grafana ), ( 'haproxy', enable_haproxy ), ( 'heat', enable_heat ), + ( 'horizon', enable_horizon ), ( 'influxdb', enable_influxdb ), ( 'ironic', enable_ironic ), ( 'ironic-inspector', enable_ironic ),