Use custom fact for Debian codename
This commit is contained in:
parent
db86af7c51
commit
b8278644b5
|
@ -2,11 +2,11 @@
|
|||
# {{ ansible_managed }}
|
||||
|
||||
Package: *
|
||||
Pin: release a={{ ansible_distribution_release }}
|
||||
Pin: release a={{ debian_codename }}
|
||||
Pin-Priority: 999
|
||||
|
||||
{% if 'base' in group_names %}
|
||||
Package: *
|
||||
Pin: release a={{ ansible_distribution_release }}-backports
|
||||
Pin: release a={{ debian_codename }}-backports
|
||||
Pin-Priority: -1
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue