Hi Luca

It's still early days for collections, so some things need ironing out, 
like https://github.com/ansible/ansible/issues/68198 [we'll have to see 
what happens here]

You either need to use FQCNs (Fully Qualified Collection Names) or better 
still metadata - see 
https://docs.ansible.com/ansible/devel/user_guide/collections_using.html#using-collections-in-roles
(this appears to be only in the devel docs branch for now)

Regards
Phil.

On Tuesday, 7 April 2020 07:52:10 UTC+1, Luca wrote:
>
> Hello everybody,
>
> How I can use an ansible collection inside an ansible role (that I cannot 
> modify)?
>
> I need to use the ansible collection ovirt.ovirt_collection (new features 
> in the modules that are not in ansible 2.9.6) with ansible roles to manage 
> an oVirt cluster but the roles use the default modules. 
> Do you know how to force the use of the modules inside the collection?
>
>
> Regards,
> Luca
>

-- 
You received this message because you are subscribed to the Google Groups 
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/6f1c4d3e-68ee-459b-8726-c9e5befe2785%40googlegroups.com.

Reply via email to