mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-17 10:10:30 +00:00
add quotes, so that all databases (*.*) is acceptable
This commit is contained in:
parent
f5bebe3d38
commit
8361568c9d
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ include:
|
||||||
mysql_grants.present:
|
mysql_grants.present:
|
||||||
- name: {{ user['name'] ~ '_' ~ db['database'] }}
|
- name: {{ user['name'] ~ '_' ~ db['database'] }}
|
||||||
- grant: {{db['grants']|join(",")}}
|
- grant: {{db['grants']|join(",")}}
|
||||||
- database: {{ db['database'] }}.*
|
- database: '{{ db['database'] }}.*'
|
||||||
- user: {{ user['name'] }}
|
- user: {{ user['name'] }}
|
||||||
- host: '{{ user['host'] }}'
|
- host: '{{ user['host'] }}'
|
||||||
- connection_host: localhost
|
- connection_host: localhost
|
||||||
|
|
Loading…
Add table
Reference in a new issue