summaryrefslogtreecommitdiffstats
path: root/roles/common/templates/etc/apt/preferences.j2
blob: 6a715b5f336d5b8563eddee4c7ee03c00b98bdf8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# {{ ansible_managed }}
# Do NOT edit this file directly!

# Install updates as soon as they're available
Package: *
Pin: release a={{ ansible_lsb.codename }}-updates
Pin-Priority: 990

{% if 'backports' in group_names -%}
# Install automatically new versions from backports
Package: *
Pin: release a={{ ansible_lsb.codename }}-backports
Pin-Priority: 200
{% endif %}