[apt] Pin some packages from other versions

Signed-off-by: Yohann D'ANELLO <ynerant@crans.org>
This commit is contained in:
2021-04-08 00:28:20 +02:00
parent 7388125008
commit 4814d7d6ae
4 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,12 @@
{{ 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 -%}

View File

@ -0,0 +1,3 @@
{{ ansible_header | comment }}
deb {{ apt.mirror }}debian {{ item[1].key }} main contrib non-free