ansible-role-mariadb/templates/my.cnf.j2
2019-02-23 18:15:28 +01:00

9 lines
246 B
Django/Jinja

# {{ ansible_managed }}
{% for section, options in mariadb_full_config.iteritems() %}
[{{section}}]
{% for option, value in options.iteritems() %}
{{ option }}{% if not value is sameas true %} = {{ value }}{% endif %}
{% endfor %}
{% endfor %}