diff options
author | Emil Renner Berthing <esmil@labitat.dk> | 2018-11-22 22:14:39 +0100 |
---|---|---|
committer | Emil Renner Berthing <esmil@labitat.dk> | 2018-11-22 22:14:39 +0100 |
commit | f0231d0d9454467ac0c1fc8e5a79a63204425851 (patch) | |
tree | 161ead8a343b092c5b59aa747d78cd12a903f3d5 /roles/debian/templates | |
parent | 8bc773dd99c20b47a45dda791ea1f8d60df4a733 (diff) | |
download | labitat-ansible-f0231d0d9454467ac0c1fc8e5a79a63204425851.tar.gz labitat-ansible-f0231d0d9454467ac0c1fc8e5a79a63204425851.tar.xz labitat-ansible-f0231d0d9454467ac0c1fc8e5a79a63204425851.zip |
debian: apt: update and manage apt-preferences.d
Diffstat (limited to 'roles/debian/templates')
-rw-r--r-- | roles/debian/templates/apt-preferences.j2 | 9 |
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 %} |