Adding ucode & UPS definitions to IAC
This commit is contained in:
13
roles/hardware/tasks/amd.yml
Normal file
13
roles/hardware/tasks/amd.yml
Normal file
@@ -0,0 +1,13 @@
|
||||
---
|
||||
|
||||
- name: AMD Ucode
|
||||
become: yes
|
||||
register: amd_ucode
|
||||
package:
|
||||
name: amd-ucode
|
||||
state: present
|
||||
|
||||
- name: Rebuild grub
|
||||
become: yes
|
||||
when: amd_ucode.changed
|
||||
command: grub-mkconfig -o /boot/grub/grub.cfg
|
||||
Reference in New Issue
Block a user