Kapisi/roles/hardware/tasks/intel.yml

14 lines
237 B
YAML

---
- name: Intel Ucode
become: yes
register: intel_ucode
package:
name: intel-ucode
state: present
- name: Rebuild grub
become: yes
when: intel_ucode.changed
command: grub-mkconfig -o /boot/grub/grub.cfg