diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-10-17 08:05:08 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-10-17 08:05:09 +0000 |
| commit | 4490f2c6b9fed0a34d7b8dfa6100085f03569744 (patch) | |
| tree | e42f2d0c1e596a53e0188e04c722e0a518ea4913 /ansible | |
| parent | aab30b9a88d7a6039546aff3866109931271a97f (diff) | |
| parent | bb51ca3a3d081e90288472970588e85235753321 (diff) | |
| download | kolla-4490f2c6b9fed0a34d7b8dfa6100085f03569744.tar.gz kolla-4490f2c6b9fed0a34d7b8dfa6100085f03569744.zip | |
Merge "Fix mariadb upgrade permission issue"
Diffstat (limited to 'ansible')
| -rw-r--r-- | ansible/roles/mariadb/templates/mariadb.json.j2 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/ansible/roles/mariadb/templates/mariadb.json.j2 b/ansible/roles/mariadb/templates/mariadb.json.j2 index cfee62e4d..1b77f5e88 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 + } ] } |
