homeserver/roles/mgrote.apt_manage_sources/templates/sources.j2
mg d6b5e4f1d7 apt_manage_sources: templating (#549)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #549
2023-07-05 15:30:24 +02:00

15 lines
292 B
Django/Jinja

{{ file_header | default () }}
{% if repos_override is defined %}
{% for item in repos_override %}
{{ item }}
{% endfor %}
{% else %}
{% for item in repos %}
{{ item }}
{% endfor %}{% endif %}
{% if extra_repos is defined %}
{% for item in extra_repos %}
{{ item }}
{% endfor %}
{% endif %}