diff --git a/ansible/roles/barbican/templates/barbican-api.json.j2 b/ansible/roles/barbican/templates/barbican-api.json.j2 index fe8ba1b30ec53a9a366abebb4d4b82fbee223241..5fbdea25f694a45a46c9e1861b70181ef841c4e6 100644 --- a/ansible/roles/barbican/templates/barbican-api.json.j2 +++ b/ansible/roles/barbican/templates/barbican-api.json.j2 @@ -19,5 +19,15 @@ "owner": "barbican", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/lib/barbican", + "owner": "barbican:barbican" + }, + { + "path": "/var/log/kolla/barbican", + "owner": "barbican:barbican" + } ] } diff --git a/ansible/roles/barbican/templates/barbican-keystone-listener.json.j2 b/ansible/roles/barbican/templates/barbican-keystone-listener.json.j2 index cb7cb3e210254d6bef02fbbf7c4f848b0301e5ce..15fc7b54d91e27cc5d9e14e08d2d2cf5d67d868d 100644 --- a/ansible/roles/barbican/templates/barbican-keystone-listener.json.j2 +++ b/ansible/roles/barbican/templates/barbican-keystone-listener.json.j2 @@ -7,5 +7,11 @@ "owner": "barbican", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/barbican", + "owner": "barbican:barbican" + } ] } diff --git a/ansible/roles/barbican/templates/barbican-worker.json.j2 b/ansible/roles/barbican/templates/barbican-worker.json.j2 index 861cd6c7f000bac41e0ee223c2056ac2ac7f50e9..1608df871cdd951775846a7d84659273b3b03ccc 100644 --- a/ansible/roles/barbican/templates/barbican-worker.json.j2 +++ b/ansible/roles/barbican/templates/barbican-worker.json.j2 @@ -7,5 +7,11 @@ "owner": "barbican", "perm": "0600" } + ], + "permissions": [ + { + "path": "/var/log/kolla/barbican", + "owner": "barbican:barbican" + } ] }