how can I fetch user and user groups from FreeIPA systems with Ansible

181 Views Asked by At

I recently automated the tasks where I added users and groups by using freeipa.ansible_freeipa.ipauser and freeipa.ansible_freeipa.ipagroup modules. I was told to fetch and gather users and group facts from IPA systems and deploy them at any time in the new system.

I decided to look for a module something like ipa_user_facts and turns out that there is no such module. I have been using roles from https://github.com/freeipa/ansible-freeipa, however, I cannot find the facts module for freeipa in any other sources.

Can anyone tell me how could I proceed with this task?

0

There are 0 best solutions below