File tree Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Expand file tree Collapse file tree 3 files changed +22
-1
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,11 @@ should be a dict containing the following items:
29
29
supported.
30
30
- ` bridge ` The name of the bridge interface for this network.
31
31
32
+ ` libvirt_host_require_vt ` is whether to require that Intel Virtualisation
33
+ Technology (VT) is enabled in order to run this role. While this provides
34
+ better VM performance, it may not be available in certain environments. The
35
+ default value is ` true ` .
36
+
32
37
Dependencies
33
38
------------
34
39
Original file line number Diff line number Diff line change @@ -17,3 +17,8 @@ libvirt_host_pools: []
17
17
# supported.
18
18
# bridge: The name of the bridge interface for this network.
19
19
libvirt_host_networks : []
20
+
21
+ # Whether to require that Intel Virtualisation Technology (VT) is enabled in
22
+ # order to run this role. While this provides better VM performance, it may not
23
+ # be available in certain environments.
24
+ libvirt_host_require_vt : true
Original file line number Diff line number Diff line change 5
5
failed_when : False
6
6
register : result
7
7
8
+ - name : Notify if Virtualization Technology (VT) is disabled
9
+ debug :
10
+ msg : >
11
+ Virtualization Technology (VT) is currently disabled. Please enable VT
12
+ before running this role again.
13
+ when :
14
+ - not libvirt_host_require_vt | bool
15
+ - result.rc != 0
16
+
8
17
- name : Fail if Virtualization Technology (VT) is disabled
9
18
fail :
10
19
msg : >
11
20
Virtualization Technology (VT) is currently disabled. Please enable VT
12
21
before running this role again.
13
- when : result.rc != 0
22
+ when :
23
+ - libvirt_host_require_vt | bool
24
+ - result.rc != 0
You can’t perform that action at this time.
0 commit comments