summaryrefslogtreecommitdiff
path: root/roles
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2017-04-15 18:04:07 +0300
committerLars Wirzenius <liw@liw.fi>2017-04-15 18:04:07 +0300
commit04287d0576aefb8f41a3eca8a5b7439ed56364e9 (patch)
tree2ee95038947abd6f233a2b55f7d16c85775d0abc /roles
parent5df713fefd62a8ef392944a39f35c4324a73b910 (diff)
downloaddebian-ansible-04287d0576aefb8f41a3eca8a5b7439ed56364e9.tar.gz
Generate sources.list suitable for unstable
Diffstat (limited to 'roles')
-rw-r--r--roles/sane_debian_system/templates/sources.list.j23
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/sane_debian_system/templates/sources.list.j2 b/roles/sane_debian_system/templates/sources.list.j2
index ca78131..1fd5b45 100644
--- a/roles/sane_debian_system/templates/sources.list.j2
+++ b/roles/sane_debian_system/templates/sources.list.j2
@@ -1,4 +1,7 @@
deb http://{{ debian_mirror }}/debian {{ debian_codename }} main
+
+{% if debian_codename != 'unstable' %}
deb http://security.debian.org/ {{ debian_codename }}/updates main
deb http://{{ debian_mirror }}/debian {{ debian_codename }}-updates main
deb http://{{ debian_mirror }}/debian {{ debian_codename }}-backports main
+{% endif %}