Use Python2/3 to detect ansible_python_interpreter

With the test it is not needed to pin down the python interpreter for ansible
modules. It is therefore possible to use a Python2 version on Fedora-27 and
a Python3 version on Fedora-26.
This commit is contained in:
Thomas Woerner
2017-10-10 17:20:59 +02:00
parent 07a831a3a4
commit 63fd53eb77
8 changed files with 28 additions and 5 deletions

View File

@@ -1,2 +1,2 @@
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
ansible_python_interpreter: '/usr/bin/python2'
#ansible_python_interpreter: '/usr/bin/python2'