manage_repositories/templates/repo.sources.j2
Bertrand Lanson 080f6a3f7c
Some checks reported warnings
test / Molecule tests (default, debian11) (push) Has been cancelled
test / Molecule tests (default, debian12) (push) Has been cancelled
test / Molecule tests (default, ubuntu2004) (push) Has been cancelled
test / Molecule tests (default, ubuntu2204) (push) Has been cancelled
test / Molecule tests (with_custom_repo, debian11) (push) Has been cancelled
test / Molecule tests (with_custom_repo, debian12) (push) Has been cancelled
test / Molecule tests (with_custom_repo, ubuntu2004) (push) Has been cancelled
test / Molecule tests (with_custom_repo, ubuntu2204) (push) Has been cancelled
test / Linting (push) Has been cancelled
started working on deb822 implementation
2023-09-11 22:46:24 +02:00

14 lines
504 B
Django/Jinja

# {{ ansible_managed }}
{% for repository in repositories %}
# {{ repository.comments}}
types: {{ repository.types | join(' ') }}
uris: mirror+file://{{ manage_repositories_mirrors_location }}/{{ repository.name }}.list
suites: {{ repository.suites | join(' ') }}
components: {{ repository.components | join(' ') }}
{% if (repository.options is defined) and repository.options %}
{% for option in repository.options %}
{{ option }}: {{ repository.options[option] }}
{% endfor %}
{% endif %}
{% endfor %}