mirror of
https://github.com/freeipa/ansible-freeipa.git
synced 2026-11-22 15:10:36 +00:00
1ed9379c9c57281e39246458f82197b09bbbd9e9
As the action plugin is used with the default python interpreter and the change to python3 for FreeIPA, the use of OTP was not working anymore. The ansible_python_interpreter is not automatically used for the module part of the action plugin. Therefore ansible_python_interpreter needed to be added to the action plugin call as a new var to make sure that the module part is used with the proper python version. Also a new import for the Python2/3 import test has been added to discover of the server is supporting python2 or python3. The old ansible_python_interpreter setting is saved before doing this and restored after the one-time password has been generated on the server.
FreeIPA Ansible roles
This repository contains Ansible roles and playbooks to install and uninstall FreeIPA servers and clients. A role for replica is in the works, but is not functional so far.
Note: The ansible playbooks and roles require a configured ansible environment where the ansible nodes are reachable and are properly set up to have an IP address and a working package manager.
Supported FreeIPA versions
For now only FreeIPA versions 4.5 and up are supported. The client role should also be functional with FreeIPA 4.4.
Roles
Languages
Python
95.6%
Shell
4.4%