fix: enable check for vmx and svm
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Markus Pesch 2022-02-26 18:58:51 +01:00
parent b86d3fc772
commit 1ad6766def
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982

View File

@ -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"