Skip to content

Commit 4ab78ef

Browse files
authored
Merge pull request #22 from stackhpc/fix-ansible-python-interpreter
Add a default for ansible_python_interpreter
2 parents cbac32d + 4391c38 commit 4ab78ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

defaults/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,4 @@ libvirt_host_uri: >-
6666
# installed. If false, the python 2 bindings will be installed.
6767
libvirt_host_python3: >-
6868
{{ (ansible_os_family == 'RedHat' and ansible_distribution_major_version|int >= 8) or
69-
ansible_python_interpreter | basename is match('python3.*') }}
69+
ansible_python_interpreter | default('python') | basename is match('python3.*') }}

0 commit comments

Comments
 (0)