diff --git a/roles/taskotron/taskotron-client/files/kvm_intel.conf b/roles/taskotron/taskotron-client/files/kvm_intel.conf new file mode 100644 index 0000000000..679c3a6ff2 --- /dev/null +++ b/roles/taskotron/taskotron-client/files/kvm_intel.conf @@ -0,0 +1 @@ +options kvm_intel nested=1 diff --git a/roles/taskotron/taskotron-client/tasks/main.yml b/roles/taskotron/taskotron-client/tasks/main.yml index 4b48232e4b..50a115199b 100644 --- a/roles/taskotron/taskotron-client/tasks/main.yml +++ b/roles/taskotron/taskotron-client/tasks/main.yml @@ -95,3 +95,7 @@ - name: hotfix libtaskotron to set longer timeout for testcloud, this should be temporary fix though :/ replace: dest=/usr/lib/python2.7/site-packages/libtaskotron/ext/disposable/vm.py regexp=', timeout=60\):' replace=', timeout=120):' backup=yes when: deployment_type in ['dev', 'stg', 'prod'] + +- name: setup nested virt on virthosts with nested=true variable + copy: src=kvm_intel.conf dest=/etc/modprobe.d/kvm_intel.conf + when: nested == true