kvm: fix obscure syntax error

Ansible (or yaml?) does not like hyphens...
master
Devan Carpenter 2 years ago
parent fec4008d0e
commit 71c0a1c1b0
Signed by: dvn
GPG Key ID: E1707CFFD7B85A02

@ -81,11 +81,11 @@
src: cpu-mitigations.cfg
dest: /etc/default/grub.d/cpu-mitigations.cfg
mode: 0644
register: grub-mitigations
register: grub_mitigations
when: intel_check.stdout != "0"
- name: Regenerate grub's config file
shell: update-grub
notify:
- reboot
when: grub-mitigations.changed
when: grub_mitigations.changed

Loading…
Cancel
Save