diff --git a/ansible/roles/congress/templates/congress-api.json.j2 b/ansible/roles/congress/templates/congress-api.json.j2 index 58e15a1fb3..a7b2cae577 100644 --- a/ansible/roles/congress/templates/congress-api.json.j2 +++ b/ansible/roles/congress/templates/congress-api.json.j2 @@ -7,5 +7,12 @@ "owner": "congress", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/congress", + "owner": "congress:congress", + "recurse": true + } ] } diff --git a/ansible/roles/congress/templates/congress-datasource.json.j2 b/ansible/roles/congress/templates/congress-datasource.json.j2 index 2825fc7f2b..9b4f9865e6 100644 --- a/ansible/roles/congress/templates/congress-datasource.json.j2 +++ b/ansible/roles/congress/templates/congress-datasource.json.j2 @@ -7,5 +7,12 @@ "owner": "congress", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/congress", + "owner": "congress:congress", + "recurse": true + } ] } diff --git a/ansible/roles/congress/templates/congress-policy-engine.json.j2 b/ansible/roles/congress/templates/congress-policy-engine.json.j2 index 691fdbcba0..f9b2e69e51 100644 --- a/ansible/roles/congress/templates/congress-policy-engine.json.j2 +++ b/ansible/roles/congress/templates/congress-policy-engine.json.j2 @@ -7,5 +7,12 @@ "owner": "congress", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/congress", + "owner": "congress:congress", + "recurse": true + } ] }