honorate mysql:server:host as in user declaration

This commit is contained in:
Gianni Carabelli 2017-05-15 12:00:36 +02:00
parent 7ec43ad3c9
commit a6c057d63c

View file

@ -61,7 +61,7 @@ include:
- grant_option: {{ user['grant_option'] | default(False) }}
- user: {{ name }}
- host: '{{ host }}'
- connection_host: localhost
- connection_host: '{{ mysql_host }}'
- connection_user: '{{ mysql_salt_user }}'
{% if mysql_salt_pass -%}
- connection_pass: '{{ mysql_salt_pass }}'