common/templates/apt/sources.d/ubuntu.sources.list.j2
Simon Cornet ad68a72478
All checks were successful
ci/woodpecker/push/linting Pipeline was successful
chore: use ansible_facts
2026-05-20 09:00:16 +02:00

21 lines
1.3 KiB
Django/Jinja

# main + restricted
deb [ arch=amd64 ] {{ apt_repository }} {{ ansible_facts['distribution_release'] }} main restricted
deb [ arch=amd64 ] {{ apt_repository }} {{ ansible_facts['distribution_release'] }}-updates main restricted
deb [ arch=amd64 ] {{ apt_repository }} {{ ansible_facts['distribution_release'] }}-security main restricted
deb [ arch=amd64 ] {{ apt_repository }} {{ ansible_facts['distribution_release'] }}-backports main restricted
{% if apt_enable_universe == True %}
# universe
deb [ arch=amd64 ] {{ apt_repository }} {{ ansible_facts['distribution_release'] }} universe
deb [ arch=amd64 ] {{ apt_repository }} {{ ansible_facts['distribution_release'] }}-updates universe
deb [ arch=amd64 ] {{ apt_repository }} {{ ansible_facts['distribution_release'] }}-security universe
deb [ arch=amd64 ] {{ apt_repository }} {{ ansible_facts['distribution_release'] }}-backports universe
{% endif %}
{% if apt_enable_multiverse == True %}
# multiverse
deb [ arch=amd64 ] {{ apt_repository }} {{ ansible_facts['distribution_release'] }} multiverse
deb [ arch=amd64 ] {{ apt_repository }} {{ ansible_facts['distribution_release'] }}-updates multiverse
deb [ arch=amd64 ] {{ apt_repository }} {{ ansible_facts['distribution_release'] }}-security multiverse
deb [ arch=amd64 ] {{ apt_repository }} {{ ansible_facts['distribution_release'] }}-backports multiverse
{% endif %}