diff --git a/ansible/roles/mistral/templates/mistral-api.json.j2 b/ansible/roles/mistral/templates/mistral-api.json.j2 index bb9c5d8682..3fdb470826 100644 --- a/ansible/roles/mistral/templates/mistral-api.json.j2 +++ b/ansible/roles/mistral/templates/mistral-api.json.j2 @@ -7,5 +7,12 @@ "owner": "mistral", "perm": "0644" } + ], + "permissions": [ + { + "path": "/var/log/kolla/mistral", + "owner": "mistral:mistral", + "recurse": true + } ] } diff --git a/ansible/roles/mistral/templates/mistral-engine.json.j2 b/ansible/roles/mistral/templates/mistral-engine.json.j2 index 68151098e3..a37250facd 100644 --- a/ansible/roles/mistral/templates/mistral-engine.json.j2 +++ b/ansible/roles/mistral/templates/mistral-engine.json.j2 @@ -7,5 +7,12 @@ "owner": "mistral", "perm": "0644" } + ], + "permissions": [ + { + "path": "/var/log/kolla/mistral", + "owner": "mistral:mistral", + "recurse": true + } ] } diff --git a/ansible/roles/mistral/templates/mistral-executor.json.j2 b/ansible/roles/mistral/templates/mistral-executor.json.j2 index 09a5c53e17..405a20183d 100644 --- a/ansible/roles/mistral/templates/mistral-executor.json.j2 +++ b/ansible/roles/mistral/templates/mistral-executor.json.j2 @@ -7,5 +7,12 @@ "owner": "mistral", "perm": "0644" } + ], + "permissions": [ + { + "path": "/var/log/kolla/mistral", + "owner": "mistral:mistral", + "recurse": true + } ] }