gitea/templates/app.ini.j2

9 lines
254 B
Django/Jinja

;; {{ ansible_managed }}
{% for section, settings in gitea_config.items() %}
[{{ section }}]
{% set settings = {} if settings == None else settings %}
{% for param, value in settings.items() %}
{{ param }} = {{ value | d('') }}
{% endfor %}
{% endfor %}