Skip to content

Commit

Permalink
fix(sys): update microcode task
Browse files Browse the repository at this point in the history
  • Loading branch information
charlesrocket committed Sep 12, 2023
1 parent 7cc933f commit 192bcdb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 0 additions & 6 deletions roles/sys/handlers/main.yml

This file was deleted.

10 changes: 8 additions & 2 deletions roles/sys/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,13 +81,19 @@
state: present
value: "{{ clear_tmp | ternary('YES', 'NO') }}"

- name: Ensure cpu-microcode is installed
community.general.pkgng:
state: present
name: cpu-microcode
autoremove: true
cached: false
when: microcode_update

- name: Enable microcode updates
community.general.sysrc:
name: microcode_update_enable
state: present
value: "YES"
notify:
- Update CPU firmware
when: microcode_update

- name: "Ntpd | {{ ntpd | ternary('enable', 'disable') }}"
Expand Down

0 comments on commit 192bcdb

Please sign in to comment.