17 lines
724 B
Django/Jinja
17 lines
724 B
Django/Jinja
# {{ ansible_managed }}
|
|
|
|
# Base repository
|
|
deb {{ bootstrap_host_ubuntu_repo }} {{ ansible_distribution_release }} {{ bootstrap_host_apt_components | join(" ") }}
|
|
|
|
{% if bootstrap_host_apt_distribution_suffix_list | length > 0 %}
|
|
# Additional distribution repositories
|
|
{% for suffix in bootstrap_host_apt_distribution_suffix_list %}
|
|
deb {{ bootstrap_host_ubuntu_repo }} {{ ansible_distribution_release }}-{{ suffix }} {{ bootstrap_host_apt_components | join(" ") }}
|
|
{% endfor %}
|
|
{% endif %}
|
|
|
|
{% if bootstrap_host_ubuntu_security_repo is defined %}
|
|
# Security repository
|
|
deb {{ bootstrap_host_ubuntu_security_repo }} {{ ansible_distribution_release }}-security {{ bootstrap_host_apt_components | join(" ") }}
|
|
{% endif %}
|