diff --git a/ansible/roles/heat/templates/heat-api-cfn.json.j2 b/ansible/roles/heat/templates/heat-api-cfn.json.j2 index 6d10c115fe..30f266582d 100644 --- a/ansible/roles/heat/templates/heat-api-cfn.json.j2 +++ b/ansible/roles/heat/templates/heat-api-cfn.json.j2 @@ -7,5 +7,12 @@ "owner": "heat", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/heat", + "owner": "heat:heat", + "recurse": true + } ] } diff --git a/ansible/roles/heat/templates/heat-api.json.j2 b/ansible/roles/heat/templates/heat-api.json.j2 index 495ba4ec29..c198cbf4be 100644 --- a/ansible/roles/heat/templates/heat-api.json.j2 +++ b/ansible/roles/heat/templates/heat-api.json.j2 @@ -7,5 +7,12 @@ "owner": "heat", "perm": "0600" } - ] + ], + "permissions": [ + { + "path": "/var/log/kolla/heat", + "owner": "heat:heat", + "recurse": true + } + ] } diff --git a/ansible/roles/heat/templates/heat-engine.json.j2 b/ansible/roles/heat/templates/heat-engine.json.j2 index 19bf349e99..40d76a08f0 100644 --- a/ansible/roles/heat/templates/heat-engine.json.j2 +++ b/ansible/roles/heat/templates/heat-engine.json.j2 @@ -13,5 +13,12 @@ "owner": "heat", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/heat", + "owner": "heat:heat", + "recurse": true + } ] }