diff --git a/ansible/roles/ironic/templates/ironic-inspector.conf.j2 b/ansible/roles/ironic/templates/ironic-inspector.conf.j2 index 14cdd9b1f3..5ecdbd40b0 100644 --- a/ansible/roles/ironic/templates/ironic-inspector.conf.j2 +++ b/ansible/roles/ironic/templates/ironic-inspector.conf.j2 @@ -1,6 +1,6 @@ [DEFAULT] debug = {{ ironic_logging_debug }} -log_dir = /var/log/kolla/ironic +log_dir = /var/log/kolla/ironic-inspector {% if orchestration_engine != 'KUBERNETES' %} listen_address = {{ api_interface_address }} diff --git a/ansible/roles/ironic/templates/ironic-inspector.json.j2 b/ansible/roles/ironic/templates/ironic-inspector.json.j2 index 5db6cbc90c..f5550a6d5f 100644 --- a/ansible/roles/ironic/templates/ironic-inspector.json.j2 +++ b/ansible/roles/ironic/templates/ironic-inspector.json.j2 @@ -4,13 +4,13 @@ { "source": "{{ container_config_directory }}/inspector.conf", "dest": "/etc/ironic-inspector/inspector.conf", - "owner": "ironic", + "owner": "ironic-inspector", "perm": "0600" }, { "source": "{{ container_config_directory }}/policy.json", - "dest": "/etc/ironic/policy.json", - "owner": "ironic", + "dest": "/etc/ironic-inspector/policy.json", + "owner": "ironic-inspector", "perm": "0600", "optional": true }