ansible-role-mariadb/templates/my.cnf.j2

9 lines
238 B
Django/Jinja

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