aboutsummaryrefslogtreecommitdiffstats
path: root/roles/debian/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/debian/templates')
-rw-r--r--roles/debian/templates/apt-preferences.j29
1 files changed, 9 insertions, 0 deletions
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 %}