manage_repositories/templates/repo.sources.j2

18 lines
589 B
Plaintext
Raw Normal View History

# {{ ansible_managed }}
# {{ repository.comments}}
2023-09-13 19:54:24 +00:00
X-Repolib-Name: {{ repository.name }}
Types: {{ repository.types | join(' ') }}
URIs: {{ repository.uri }}
Suites: {{ repository.suites | join(' ') }}
Components: {{ repository.components | join(' ') }}
{% if (repository.options is defined) and repository.options %}
{% for option in repository.options %}
2023-09-13 19:54:24 +00:00
{% if option == "Signed-By" %}
{{ option }}: {{ manage_repositories_signing_keys_location + "/" + item.name + "-archive-keyring.asc" }}
{% else %}
{{ option }}: {{ repository.options[option] }}
2023-09-13 19:54:24 +00:00
{% endif %}
{% endfor %}
{% endif %}