aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/magnum/templates/magnum-api.json.j27
-rw-r--r--ansible/roles/magnum/templates/magnum-conductor.json.j212
2 files changed, 19 insertions, 0 deletions
diff --git a/ansible/roles/magnum/templates/magnum-api.json.j2 b/ansible/roles/magnum/templates/magnum-api.json.j2
index c4af2d218..b79de7005 100644
--- a/ansible/roles/magnum/templates/magnum-api.json.j2
+++ b/ansible/roles/magnum/templates/magnum-api.json.j2
@@ -7,5 +7,12 @@
"owner": "magnum",
"perm": "0600"
}
+ ],
+ "permissions": [
+ {
+ "path": "/var/log/kolla/magnum",
+ "owner": "magnum:magnum",
+ "recurse": true
+ }
]
}
diff --git a/ansible/roles/magnum/templates/magnum-conductor.json.j2 b/ansible/roles/magnum/templates/magnum-conductor.json.j2
index 179182991..9114f45e0 100644
--- a/ansible/roles/magnum/templates/magnum-conductor.json.j2
+++ b/ansible/roles/magnum/templates/magnum-conductor.json.j2
@@ -7,5 +7,17 @@
"owner": "magnum",
"perm": "0600"
}
+ ],
+ "permissions": [
+ {
+ "path": "/var/lib/kolla/magnum",
+ "owner": "magnum:magnum",
+ "recurse": true
+ },
+ {
+ "path": "/var/log/kolla/magnum",
+ "owner": "magnum:magnum",
+ "recurse": true
+ }
]
}