diff --git a/ansible/roles/aodh/templates/aodh-api.json.j2 b/ansible/roles/aodh/templates/aodh-api.json.j2 index fc4b127a70..f18d5a5723 100644 --- a/ansible/roles/aodh/templates/aodh-api.json.j2 +++ b/ansible/roles/aodh/templates/aodh-api.json.j2 @@ -22,5 +22,12 @@ "perm": "0600", "optional": true } - ] + ], + "permissions": [ + { + "path": "/var/log/kolla/aodh", + "owner": "aodh:kolla", + "recurse": true + } + ] } diff --git a/ansible/roles/aodh/templates/aodh-evaluator.json.j2 b/ansible/roles/aodh/templates/aodh-evaluator.json.j2 index 788915c77c..9f9b4aaf6e 100644 --- a/ansible/roles/aodh/templates/aodh-evaluator.json.j2 +++ b/ansible/roles/aodh/templates/aodh-evaluator.json.j2 @@ -14,5 +14,12 @@ "perm": "0600", "optional": true } + ], + "permissions": [ + { + "path": "/var/log/kolla/aodh", + "owner": "aodh:kolla", + "recurse": true + } ] } diff --git a/ansible/roles/aodh/templates/aodh-listener.json.j2 b/ansible/roles/aodh/templates/aodh-listener.json.j2 index 2f438d139c..afd2173336 100644 --- a/ansible/roles/aodh/templates/aodh-listener.json.j2 +++ b/ansible/roles/aodh/templates/aodh-listener.json.j2 @@ -14,5 +14,12 @@ "perm": "0600", "optional": true } + ], + "permissions": [ + { + "path": "/var/log/kolla/aodh", + "owner": "aodh:kolla", + "recurse": true + } ] } diff --git a/ansible/roles/aodh/templates/aodh-notifier.json.j2 b/ansible/roles/aodh/templates/aodh-notifier.json.j2 index 63db1f34f6..9ab985bb1b 100644 --- a/ansible/roles/aodh/templates/aodh-notifier.json.j2 +++ b/ansible/roles/aodh/templates/aodh-notifier.json.j2 @@ -14,5 +14,12 @@ "perm": "0600", "optional": true } + ], + "permissions": [ + { + "path": "/var/log/kolla/aodh", + "owner": "aodh:kolla", + "recurse": true + } ] }