ansible-personal/roles/mariadb/templates/.my.cnf.j2
Alan Orth 05faeecc5d
roles/mariadb: Quote the password in .my.conf template
Ansible's mysql module can get this password and connect fine, but
`mysql` on the command line chokes if the password is slightly
complicated and is not quoted.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
2014-09-01 12:41:56 +03:00

4 lines
58 B
Django/Jinja

[client]
user=root
password='{{ mariadb_root_password }}'