fix: enable check for vmx and svm
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
b86d3fc772
commit
1ad6766def
@ -5,10 +5,10 @@
|
|||||||
register: cpu_info
|
register: cpu_info
|
||||||
changed_when: false
|
changed_when: false
|
||||||
|
|
||||||
# - name: Verify if Intel VMX or AMD SVM is enabled
|
- name: Verify if Intel VMX or AMD SVM is enabled
|
||||||
# fail:
|
fail:
|
||||||
# msg: "Intel VMX or AMD SVE not enabled"
|
msg: "Intel VMX or AMD SVE not enabled"
|
||||||
# when: "'vmx' not in cpu_info.stdout and 'svm' not in cpu_info.stdout"
|
when: "'vmx' not in cpu_info.stdout and 'svm' not in cpu_info.stdout"
|
||||||
|
|
||||||
- name: Load variables
|
- name: Load variables
|
||||||
include_vars: "{{ ansible_os_family }}.yml"
|
include_vars: "{{ ansible_os_family }}.yml"
|
||||||
|
Loading…
Reference in New Issue
Block a user