ansible/roles/gitea/templates/app.ini.j2
2019-11-24 18:50:21 -06:00

15 lines
303 B
Django/Jinja

# {{ ansible_managed }}
{% for section, body in gitea_config | dictsort %}
[{{ section }}]
{% for k, v in body | dictsort %}
{% if v is sameas true %}
{{ k | upper }} = true
{% elif v is sameas false %}
{{ k | upper }} = false
{% else %}
{{ k | upper }} = {{ v }}
{% endif %}
{% endfor %}
{% endfor %}