mono-infrastructure/ansible/role-rocky-check-virt.yml
2020-12-10 17:38:37 +00:00

7 lines
168 B
YAML

---
# Check virtualization is enabled
- name: Check for CPU Virtualization
shell: "lscpu | grep -i virtualization"
register: result
failed_when: "result.rc != 0"