diff --git a/ansible/roles/ceilometer/templates/ceilometer-api.json.j2 b/ansible/roles/ceilometer/templates/ceilometer-api.json.j2 index 500f9979fc..0f8f16b86a 100644 --- a/ansible/roles/ceilometer/templates/ceilometer-api.json.j2 +++ b/ansible/roles/ceilometer/templates/ceilometer-api.json.j2 @@ -23,5 +23,12 @@ "perm": "0600", "optional": true } + ], + "permissions": [ + { + "path": "/var/log/kolla/ceilometer", + "owner": "ceilometer:ceilometer", + "recurse": true + } ] } diff --git a/ansible/roles/ceilometer/templates/ceilometer-central.json.j2 b/ansible/roles/ceilometer/templates/ceilometer-central.json.j2 index 3468478874..e20257b15a 100644 --- a/ansible/roles/ceilometer/templates/ceilometer-central.json.j2 +++ b/ansible/roles/ceilometer/templates/ceilometer-central.json.j2 @@ -14,5 +14,12 @@ "perm": "0600", "optional": true } + ], + "permissions": [ + { + "path": "/var/log/kolla/ceilometer", + "owner": "ceilometer:ceilometer", + "recurse": true + } ] } diff --git a/ansible/roles/ceilometer/templates/ceilometer-collector.json.j2 b/ansible/roles/ceilometer/templates/ceilometer-collector.json.j2 index 99da6248a5..1d46da006b 100644 --- a/ansible/roles/ceilometer/templates/ceilometer-collector.json.j2 +++ b/ansible/roles/ceilometer/templates/ceilometer-collector.json.j2 @@ -14,5 +14,12 @@ "perm": "0600", "optional": true } + ], + "permissions": [ + { + "path": "/var/log/kolla/ceilometer", + "owner": "ceilometer:ceilometer", + "recurse": true + } ] } diff --git a/ansible/roles/ceilometer/templates/ceilometer-compute.json.j2 b/ansible/roles/ceilometer/templates/ceilometer-compute.json.j2 index 9a71849958..b68dbc0311 100644 --- a/ansible/roles/ceilometer/templates/ceilometer-compute.json.j2 +++ b/ansible/roles/ceilometer/templates/ceilometer-compute.json.j2 @@ -14,5 +14,12 @@ "perm": "0600", "optional": true } + ], + "permissions": [ + { + "path": "/var/log/kolla/ceilometer", + "owner": "ceilometer:ceilometer", + "recurse": true + } ] } diff --git a/ansible/roles/ceilometer/templates/ceilometer-notification.json.j2 b/ansible/roles/ceilometer/templates/ceilometer-notification.json.j2 index 354ecf7a95..2ee3522721 100644 --- a/ansible/roles/ceilometer/templates/ceilometer-notification.json.j2 +++ b/ansible/roles/ceilometer/templates/ceilometer-notification.json.j2 @@ -32,5 +32,12 @@ "perm": "0600", "optional": true } + ], + "permissions": [ + { + "path": "/var/log/kolla/ceilometer", + "owner": "ceilometer:ceilometer", + "recurse": true + } ] }