On 12/2/24 1:45 PM, Ronald Wimmer via FreeIPA-users wrote:
I was looking for the ansible equivalent of ipalibs host_find to retrieve a list of all enrolled IPA machines. But unfortunately I did not find something that suits my needs... Am I missing something here?

There is nothing like this right now as part of ansible-freeipa. Some work has been started to add a query state for modules, but this is still WIP.

The only way to do this is to use host-find command in a command task right now.

Why do I need that? I need to fetch additional information for all IPA-enrolled machines.

Cheers,
Ronald


Regards,
Thomas

--
_______________________________________________
FreeIPA-users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedorahosted.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to