summaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2015-05-14 23:38:03 +0200
committerGuilhem Moulin <guilhem@fripost.org>2015-06-07 02:53:43 +0200
commitb3f957f6809427bc1b78ecd0d5b23bb90294108d (patch)
treea42f549ef17e7bccac22efec1607f2fc28650bad /roles
parent2cd52fbc96b1e3d2809f0d660c62d52c662ab34b (diff)
Add wildcard Pin version in apt preferences.
Diffstat (limited to 'roles')
-rw-r--r--roles/common/templates/etc/apt/preferences.j21
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/common/templates/etc/apt/preferences.j2 b/roles/common/templates/etc/apt/preferences.j2
index 2821f6d..7774cba 100644
--- a/roles/common/templates/etc/apt/preferences.j2
+++ b/roles/common/templates/etc/apt/preferences.j2
@@ -23,6 +23,7 @@ Pin-Priority: 200
not (ansible_virtualization_role == 'guest' and ansible_virtualization_type == 'xen') -%}
# Automatically upgrade the microcode (when manually installed)
Package: intel-microcode iucode-tool
+Pin: version *
Pin-Priority: 200
{% endif %}