kvm: create sysconfig dir for grub

Adding the grub config for CPU mitigations requires the "/etc/sysconfig"
dir to exist.
master
Devan Carpenter 2 years ago
parent f71559f3c6
commit be374bb0ae
Signed by: dvn
GPG Key ID: E1707CFFD7B85A02

@ -76,6 +76,12 @@
shell: grep -c Intel /proc/cpuinfo
register: intel_check
- name: Create sysconfig directory
file:
path: /etc/sysconfig
state: directory
when: intel_check.stdout != "0"
- name: Install grub config to disable CPU mitigations
copy:
src: grub-mitigations.conf

Loading…
Cancel
Save