On Tue, Jan 23, 2024 at 1:33 PM slek kus via FreeIPA-users <freeipa-users@lists.fedorahosted.org> wrote:
>
> Hi, is there a possibility to have the below plugin avialable in Ansible Galaxy FreeIPA collection?
> https://github.com/ansible/ansible/blob/stable-2.9/contrib/inventory/freeipa.py
>
> Trying to use dynamic inventory by using the plugin. but this is not being included/downloaded with the collection.
>

This plugin is not related to the ansible-freeipa collection and is not
maintained by the FreeIPA team.

We plan to add dynamic inventory support for ansible-freeipa, but we
have no ETA at this time.

> I create a dynamic inventory (sourced from project, a git where I have the following folder and file):
> inventories/clients_and_controllers.yml, where the contents of the .yml is a single line:
>
> ```
> plugin: freeipa
> ```
>
> The collections used are:
>
> ```
> collections:
>     - name: freeipa.ansible_freeipa
>     - name: community.general
> ```
>
> The error message trying to sync the resource for the dynamic inventory is:
>
> [WARNING]: * Failed to parse
>
> /runner/project/inventories/clients_and_controllers.yml with auto plugin:
> inventory config ‘/runner/project/inventories/clients_and_controllers.yml
> ’
> specifies unknown plugin ‘freeipa.py’
>

Ansible 2.9 is EOL for a while. ansible-freeipa requires Ansible 2.13+.

Does this plugin support newer versions? Which Ansible version are
you using?

Rafael



> Kind regards!
> --
> _______________________________________________
> FreeIPA-users mailing list -- freeipa-users@lists.fedorahosted.org
> To unsubscribe send an email to freeipa-users-leave@lists.fedorahosted.org
> 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/freeipa-users@lists.fedorahosted.org
> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue



--
Rafael Guterres Jeffman
Senior Software Engineer
FreeIPA - Red Hat