forked from bitlair/ansible
Add unstable sources.list
This commit is contained in:
parent
67087c4f48
commit
f407329ecc
10 changed files with 51 additions and 7 deletions
1
roles/common/templates/apt-defaultrelease.j2
Normal file
1
roles/common/templates/apt-defaultrelease.j2
Normal file
|
@ -0,0 +1 @@
|
|||
APT::Default-Release "{{ ansible_distribution_release }}";
|
19
roles/common/templates/apt-preferences-stable.j2
Normal file
19
roles/common/templates/apt-preferences-stable.j2
Normal file
|
@ -0,0 +1,19 @@
|
|||
# Prefer packages from our release
|
||||
# Prevent auto-installation from testing/unstable/sid/whatever
|
||||
|
||||
Package: *
|
||||
Pin: release n={{ ansible_distribution_release }}
|
||||
Pin-Priority: 900
|
||||
|
||||
Package: *
|
||||
Pin: release n=sid
|
||||
Pin-Priority: -10
|
||||
|
||||
Package: *
|
||||
Pin: release n=testing
|
||||
Pin-Priority: -10
|
||||
|
||||
Package: *
|
||||
Pin: release n=unstable
|
||||
Pin-Priority: -10
|
||||
|
|
@ -20,5 +20,8 @@ deb {{ debian_repourl }} {{ ansible_distribution_release }}-backports {{ compone
|
|||
#
|
||||
# Security patches
|
||||
deb {{ debian_securityurl }} {{ ansible_distribution_release }}-security {{ components }}
|
||||
{{ SRC }}deb-src {{ debian_securityurl }} {{ ansible_distribution_release }}-security main contrib non- free
|
||||
{{ SRC }}deb-src {{ debian_securityurl }} {{ ansible_distribution_release }}-security {{ components }}
|
||||
|
||||
# Testing/Unstable repos
|
||||
deb {{ debian_repourl }} testing {{ components }}
|
||||
deb {{ debian_repourl }} sid {{ components }}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue