diff --git a/ansible/roles/mariadb/templates/mariadb.json.j2 b/ansible/roles/mariadb/templates/mariadb.json.j2 index cfee62e4d9..1b77f5e88f 100644 --- a/ansible/roles/mariadb/templates/mariadb.json.j2 +++ b/ansible/roles/mariadb/templates/mariadb.json.j2 @@ -14,5 +14,17 @@ "owner": "mysql", "perm": "0700" } + ], + "permissions": [ + { + "path": "/var/log/kolla/mariadb", + "owner": "mysql:mysql", + "recurse": true + }, + { + "path": "/var/lib/mysql", + "owner": "mysql:mysql", + "recurse": true + } ] }