mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-08-01 20:34:41 +00:00
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:
@@ -1,2 +1,2 @@
|
||||
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
|
||||
ansible_python_interpreter: '/usr/bin/python2'
|
||||
#ansible_python_interpreter: '/usr/bin/python2'
|
||||
@@ -1,2 +1,2 @@
|
||||
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
|
||||
ansible_python_interpreter: '/usr/bin/python2'
|
||||
#ansible_python_interpreter: '/usr/bin/python2'
|
||||
@@ -1,4 +1,4 @@
|
||||
# defaults file for ipaclient
|
||||
# vars/rhel.yml
|
||||
ipaclient_packages: [ "ipa-client", "ipa-admintools", "libselinux-python" ]
|
||||
ansible_python_interpreter: '/usr/bin/python2'
|
||||
#ansible_python_interpreter: '/usr/bin/python2'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# defaults file for ipaclient
|
||||
# vars/rhel.yml
|
||||
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
|
||||
ansible_python_interpreter: '/usr/bin/python2'
|
||||
#ansible_python_interpreter: '/usr/bin/python2'
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# defaults file for ipaclient
|
||||
# vars/default.yml
|
||||
ipaclient_packages: [ "ipa-client", "libselinux-python" ]
|
||||
ansible_python_interpreter: '/usr/bin/python3'
|
||||
#ansible_python_interpreter: '/usr/bin/python3'
|
||||
|
||||
Reference in New Issue
Block a user