From e3a42987d9929236b7b68352bbd4bd7c6cde8d38 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Sun, 12 Jul 2015 13:27:30 +0200 Subject: Change match to "^(Genuine)?Intel.*" for Intel processors. --- roles/common/templates/etc/apt/preferences.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/common/templates/etc/apt/preferences.j2') diff --git a/roles/common/templates/etc/apt/preferences.j2 b/roles/common/templates/etc/apt/preferences.j2 index 7774cba..ba10834 100644 --- a/roles/common/templates/etc/apt/preferences.j2 +++ b/roles/common/templates/etc/apt/preferences.j2 @@ -19,7 +19,7 @@ Package: firmware-linux-nonfree Pin-Priority: 200 {% endif %} -{% if ansible_processor[0] | search('^Intel.*') and +{% if ansible_processor[0] | search('^(Genuine)?Intel.*') and not (ansible_virtualization_role == 'guest' and ansible_virtualization_type == 'xen') -%} # Automatically upgrade the microcode (when manually installed) Package: intel-microcode iucode-tool -- cgit v1.2.3