mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-05-14 21:42:17 +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:
@@ -7,6 +7,10 @@
|
||||
state: present
|
||||
with_items: "{{ ipaclient_packages }}"
|
||||
|
||||
- name: Install - Include Python2/3 import test
|
||||
include: "{{role_path}}/tasks/python_2_3_test.yml"
|
||||
static: yes
|
||||
|
||||
- name: Install - IPA discovery
|
||||
ipadiscovery:
|
||||
domain: "{{ ipaclient_domain | default(omit) }}"
|
||||
|
||||
Reference in New Issue
Block a user