summaryrefslogtreecommitdiffstats
path: root/ansible/roles/add_custom_repos/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/add_custom_repos/templates')
-rw-r--r--ansible/roles/add_custom_repos/templates/sources.list.j25
1 files changed, 5 insertions, 0 deletions
diff --git a/ansible/roles/add_custom_repos/templates/sources.list.j2 b/ansible/roles/add_custom_repos/templates/sources.list.j2
new file mode 100644
index 000000000..86be348f6
--- /dev/null
+++ b/ansible/roles/add_custom_repos/templates/sources.list.j2
@@ -0,0 +1,5 @@
+{% if YARD_IMG_ARCH == "arm64" %}
+deb [arch={{ YARD_IMG_ARCH }}] http://ports.ubuntu.com/ {{ ubuntu_release[target_os_version] }}-backports main restricted universe multiverse
+{% else %}
+deb http://archive.ubuntu.com/ubuntu/ {{ ubuntu_release[target_os_version] }}-backports main restricted universe multiverse
+{% endif %}