Install intel-microcode on Intel CPUs

Required otherwise needrestart fails.
This commit is contained in:
Joshua Boniface 2023-09-20 16:43:08 -04:00
parent 6d05f40242
commit 82accb3b5e
1 changed files with 6 additions and 0 deletions

View File

@ -296,6 +296,12 @@
until: apt_res is success until: apt_res is success
tags: base-packages tags: base-packages
- name: install Intel-specific microcode package
apt:
name:
- intel-microcode
when: "'GenuineIntel' in ansible_processor"
- name: install cleanup scripts - name: install cleanup scripts
template: template:
src: "{{ item.src }}" src: "{{ item.src }}"