Merge pull request #28 from tiger-seo/master

few improvements
This commit is contained in:
Nitin Madhok 2014-08-05 15:14:52 -04:00
commit 35f054454e
2 changed files with 4 additions and 1 deletions

View file

@ -28,7 +28,10 @@ mysql_delete_anonymous_user_{{ host }}:
- absent - absent
- host: {{ host }} - host: {{ host }}
- name: '' - name: ''
- connection_host: localhost
- connection_user: root
- connection_pass: {{ mysql_root_password }} - connection_pass: {{ mysql_root_password }}
- connection_charset: utf8
- require: - require:
- service: mysqld - service: mysqld
- pkg: mysql_python - pkg: mysql_python

View file

@ -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