ansible-mysql/templates/root/my.cnf

12 lines
271 B
Plaintext

# ------------------------------------------
# {{ ansible_managed }}
# ------------------------------------------
[client]
user=root
{% if mysql_vendor == 'mariadb_galera' %}
password="{{ mysql_root_password }}"
{% else %}
password={{ mysql_root_password }}
{% endif %}