ansible-mysql/templates/root/my.cnf

12 lines
271 B
Plaintext
Raw Normal View History

# ------------------------------------------
# {{ ansible_managed }}
# ------------------------------------------
[client]
user=root
2017-11-02 20:29:24 +07:00
{% if mysql_vendor == 'mariadb_galera' %}
password="{{ mysql_root_password }}"
2017-11-02 20:29:24 +07:00
{% else %}
password={{ mysql_root_password }}
{% endif %}