manage_repositories/templates/repo.sources.j2
Bertrand Lanson 880451bcd5
Some checks failed
test / Linting (push) Failing after 29s
test / Molecule tests (default, debian11) (push) Has been skipped
test / Molecule tests (default, debian12) (push) Has been skipped
test / Molecule tests (default, ubuntu2004) (push) Has been skipped
test / Molecule tests (default, ubuntu2204) (push) Has been skipped
test / Molecule tests (with_custom_repo, debian11) (push) Has been skipped
test / Molecule tests (with_custom_repo, debian12) (push) Has been skipped
test / Molecule tests (with_custom_repo, ubuntu2004) (push) Has been skipped
test / Molecule tests (with_custom_repo, ubuntu2204) (push) Has been skipped
fixed custom repositories, fixed tests
2023-09-13 21:54:24 +02:00

18 lines
589 B
Django/Jinja

# {{ ansible_managed }}
# {{ repository.comments}}
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 %}
{% if option == "Signed-By" %}
{{ option }}: {{ manage_repositories_signing_keys_location + "/" + item.name + "-archive-keyring.asc" }}
{% else %}
{{ option }}: {{ repository.options[option] }}
{% endif %}
{% endfor %}
{% endif %}