Kapisi/roles/hardware/tasks/amd.yml

14 lines
229 B
YAML

---
- 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