add quotes, so that all databases (*.*) is acceptable

This commit is contained in:
tiger-seo 2014-08-05 22:03:52 +03:00 committed by Sergey Shupylo
parent f5bebe3d38
commit 8361568c9d

View file

@ -26,7 +26,7 @@ include:
mysql_grants.present:
- name: {{ user['name'] ~ '_' ~ db['database'] }}
- grant: {{db['grants']|join(",")}}
- database: {{ db['database'] }}.*
- database: '{{ db['database'] }}.*'
- user: {{ user['name'] }}
- host: '{{ user['host'] }}'
- connection_host: localhost