Skip to content
Snippets Groups Projects
Commit 895a8877 authored by Thomas Woerner's avatar Thomas Woerner
Browse files

Add support for Python3 based freeipa versions (F-27+), make Python3 default

Add configuration for F-26, F-27 and RHEL-7 to be Python2 based
parent e797410e
No related branches found
No related tags found
No related merge requests found
...@@ -4,8 +4,10 @@ ...@@ -4,8 +4,10 @@
- name: Import variables specific to distribution - name: Import variables specific to distribution
include_vars: "{{ item }}" include_vars: "{{ item }}"
with_first_found: with_first_found:
- vars/{{ ansible_distribution }}.yml - "vars/{{ ansible_distribution }}-{{ ansible_distribution_version }}.yml"
- vars/default.yml - "vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
- "vars/{{ ansible_distribution }}.yml"
- "vars/default.yml"
- name: Install IPA client - name: Install IPA client
include: tasks/install.yml include: tasks/install.yml
......
ipaclient_package: python2-ipaclient
ansible_python_interpreter: '/usr/bin/python2'
\ No newline at end of file
ipaclient_package: python2-ipaclient
ansible_python_interpreter: '/usr/bin/python2'
\ No newline at end of file
# defaults file for ipaclient
# vars/rhel.yml
ipaclient_package: ipa-client
ansible_python_interpreter: '/usr/bin/python2'
# defaults file for ipaclient # defaults file for ipaclient
# vars/default.yml # vars/default.yml
ipaclient_package: freeipa-client ipaclient_package: python3-ipaclient
ansible_python_interpreter: '/usr/bin/python3'
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment