File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,4 @@ libvirt_host_uri: >-
64
64
65
65
# Whether the python3 version of the libvirt python bindings should be
66
66
# installed. If false, the python 2 bindings will be installed.
67
- libvirt_host_python3 : >-
68
- {{ (ansible_os_family == 'RedHat' and ansible_distribution_major_version|int >= 8) or
69
- ansible_python_interpreter | default('python') | basename is match('python3.*') }}
67
+ libvirt_host_python3 : " {{ ansible_python.version.major == 3 }}"
Original file line number Diff line number Diff line change 39
39
name : " {{ package }}"
40
40
state : present
41
41
with_items : " {{ libvirt_host_qemu_emulators }}"
42
+ # NOTE(mgoddard): CentOS 8 does not provide separate packages per-emulator.
43
+ when : ansible_os_family != "RedHat" or ansible_distribution_major_version | int == 7
42
44
register : result
43
45
until : result is success
44
46
retries : 3
You can’t perform that action at this time.
0 commit comments