ansible-gitea-role/templates/app.ini.j2

16 lines
344 B
Django/Jinja

{{ ansible_managed | comment }}
APP_NAME = {{ gitea_app_name }}
RUN_MODE = {{ gitea_run_mode }}
RUN_USER = {{ gitea_run_user }}
{% for section in gitea_config %}
[{{ section }}]
{% if gitea_config[section] is not none %}
{% for entry, value in gitea_config[section].items() %}
{{ entry }} = {{ value }}
{% endfor %}
{% endif %}
{% endfor %}