diff --git a/ansible/roles/cloudkitty/templates/cloudkitty-api.json.j2 b/ansible/roles/cloudkitty/templates/cloudkitty-api.json.j2 index 2a57a51af5..83b37763f7 100644 --- a/ansible/roles/cloudkitty/templates/cloudkitty-api.json.j2 +++ b/ansible/roles/cloudkitty/templates/cloudkitty-api.json.j2 @@ -7,5 +7,12 @@ "owner": "cloudkitty", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/cloudkitty", + "owner": "cloudkitty:cloudkitty", + "recurse": true + } ] } diff --git a/ansible/roles/cloudkitty/templates/cloudkitty-processor.json.j2 b/ansible/roles/cloudkitty/templates/cloudkitty-processor.json.j2 index 3dd845c33b..8b8d95e076 100644 --- a/ansible/roles/cloudkitty/templates/cloudkitty-processor.json.j2 +++ b/ansible/roles/cloudkitty/templates/cloudkitty-processor.json.j2 @@ -7,5 +7,12 @@ "owner": "cloudkitty", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/cloudkitty", + "owner": "cloudkitty:cloudkitty", + "recurse": true + } ] }