From f0231d0d9454467ac0c1fc8e5a79a63204425851 Mon Sep 17 00:00:00 2001 From: Emil Renner Berthing Date: Thu, 22 Nov 2018 22:14:39 +0100 Subject: debian: apt: update and manage apt-preferences.d --- roles/debian/templates/apt-preferences.j2 | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 roles/debian/templates/apt-preferences.j2 (limited to 'roles/debian/templates') diff --git a/roles/debian/templates/apt-preferences.j2 b/roles/debian/templates/apt-preferences.j2 new file mode 100644 index 0000000..f1f4dba --- /dev/null +++ b/roles/debian/templates/apt-preferences.j2 @@ -0,0 +1,9 @@ +{% if 'package' in item.value %} +Package: {{ item.value.package }} +{% endif %} +{% if 'pin' in item.value %} +Pin: {{ item.value.pin }} +{% endif %} +{% if 'pin-priority' in item.value %} +Pin-Priority: {{ item.value['pin-priority'] }} +{% endif %} -- cgit v1.2.1