templier-ansible/roles/apt/templates/apt/preferences.d/pin.list.j2
Yohann D'ANELLO 4814d7d6ae
[apt] Pin some packages from other versions
Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
2021-04-08 00:32:27 +02:00

13 lines
218 B
Django/Jinja

{{ ansible_header | comment }}
Package: *
Pin: release n={{ item[1].key }}
Pin-Priority: 1
{% for package in item[1].value -%}
Package: {{ package }}
Pin: release n={{ item[1].key }}
Pin-Priority: 900
{% endfor -%}