Initial commit
[ta/infra-ansible.git] / roles / bootstrap-host / templates / apt-sources.list.j2
diff --git a/roles/bootstrap-host/templates/apt-sources.list.j2 b/roles/bootstrap-host/templates/apt-sources.list.j2
new file mode 100644 (file)
index 0000000..8a632a1
--- /dev/null
@@ -0,0 +1,10 @@
+# {{ ansible_managed }}
+
+# Base repositories
+deb {{ bootstrap_host_ubuntu_repo }} {{ ansible_distribution_release }} {{ bootstrap_host_apt_components | join(" ") }}
+# Updates repositories
+deb {{ bootstrap_host_ubuntu_repo }} {{ ansible_distribution_release }}-updates {{ bootstrap_host_apt_components | join(" ") }}
+# Backports repositories
+deb {{ bootstrap_host_ubuntu_repo }} {{ ansible_distribution_release }}-backports {{ bootstrap_host_apt_components | join(" ") }}
+# Security repositories
+deb {{ bootstrap_host_ubuntu_security_repo }} {{ ansible_distribution_release }}-security {{ bootstrap_host_apt_components | join(" ") }}