diff --git a/ansible/roles/common/tasks/config.yml b/ansible/roles/common/tasks/config.yml index 0f29406804..e8b4621754 100644 --- a/ansible/roles/common/tasks/config.yml +++ b/ansible/roles/common/tasks/config.yml @@ -113,6 +113,7 @@ - { name: "heat", enabled: "{{ enable_heat }}" } - { name: "influxdb", enabled: "{{ enable_influxdb }}" } - { name: "ironic", enabled: "{{ enable_ironic }}" } + - { name: "ironic-inspector", enabled: "{{ enable_ironic }}" } - { name: "iscsid", enabled: "{{ enable_iscsid }}" } - { name: "karbor", enabled: "{{ enable_karbor }}" } - { name: "keepalived", enabled: "{{ enable_haproxy }}" } diff --git a/ansible/roles/common/templates/cron-logrotate-ironic-inspector.conf.j2 b/ansible/roles/common/templates/cron-logrotate-ironic-inspector.conf.j2 new file mode 100644 index 0000000000..a3fe9a18a5 --- /dev/null +++ b/ansible/roles/common/templates/cron-logrotate-ironic-inspector.conf.j2 @@ -0,0 +1,3 @@ +"/var/log/kolla/ironic-inspector/*.log" +{ +} diff --git a/ansible/roles/common/templates/cron.json.j2 b/ansible/roles/common/templates/cron.json.j2 index e9c2e4a2d1..b1f42a3434 100644 --- a/ansible/roles/common/templates/cron.json.j2 +++ b/ansible/roles/common/templates/cron.json.j2 @@ -21,6 +21,7 @@ ( 'heat', enable_heat ), ( 'influxdb', enable_influxdb ), ( 'ironic', enable_ironic ), + ( 'ironic-inspector', enable_ironic ), ( 'iscsid', enable_iscsid ), ( 'karbor', enable_karbor ), ( 'keepalived', enable_haproxy ),