24.3. Installing the ansible-freeipa package
Follow this procedure to install the ansible-freeipa package that provides Ansible roles and modules for installing and managing Identity Management (IdM) .
In RHEL 10, the ansible-freeipa RPM package installs the freeipa.ansible_freeipa collection only.
To use the new collection, add the freeipa.ansible_freeipa prefix to the names of roles and modules. Use the fully-qualified names to follow Ansible recommendations. For example, to refer to the ipahbacrule module, use freeipa.ansible_freeipa.ipahbacrule.
Prerequisites
- Ensure that the controller is a Red Hat Enterprise Linux system with a valid subscription. If this is not the case, see the official Ansible documentation Installation guide for alternative installation instructions.
-
Ensure that you can reach the managed node over the
SSHprotocol from the controller. Check that the managed node is listed in the/root/.ssh/known_hostsfile of the controller.
Procedure
On the Ansible controller, install the
ansible-freeipapackage:# dnf install ansible-freeipaThe roles and modules are installed into the
/usr/share/ansible/collections/ansible_collections/freeipa/ansible_freeipa/roles/and/usr/share/ansible/collections/ansible_collections/freeipa/ansible_freeipa/plugins/modulesdirectories.