pvc-ansible/roles/base/templates/etc/apt/preferences.d/pins.j2

13 lines
251 B
Django/Jinja

# apt configuration: pinning preferences
# {{ ansible_managed }}
Package: *
Pin: release a={{ debian_codename }}
Pin-Priority: 999
{% if 'base' in group_names %}
Package: *
Pin: release a={{ debian_codename }}-backports
Pin-Priority: -1
{% endif %}