Hello Abhijeet Kasure,
Thanks for your answer !
My inventory configuration file *inventory.vmware.yml* is :







*plugin: vmware_vm_inventorystrict: Falsehostname: 10.0.1.1username:
[email protected] <[email protected]>password:
Mypasswordvalidate_certs: Falsewith_tags: True*

And with -vvv :











*/usr/lib/python2.7/dist-packages/ansible/parsing/vault/__init__.py:44:
CryptographyDeprecationWarning: Python 2 is no longer supported by the
Python core team. Support for it is now deprecated in cryptography, and
will be removed in the next release.  from cryptography.exceptions import
InvalidSignatureansible-inventory 2.5.1  config file =
/etc/ansible/ansible.cfg  configured module search path =
[u'/home/admincpc/.ansible/plugins/modules',
u'/usr/share/ansible/plugins/modules']  ansible python module location =
/usr/lib/python2.7/dist-packages/ansible  executable location =
/usr/bin/ansible-inventory  python version = 2.7.17 (default, Feb 27 2021,
15:10:58) [GCC 7.5.0]Using /etc/ansible/ansible.cfg as config
file [WARNING]: Failed to load inventory plugin, skipping
vmware_vm_inventoryERROR! No inventory plugins available to generate
inventory, make sure you have at least one whitelisted.*

Thanks for your help !

Le ven. 18 juin 2021 à 15:39, Abhijeet Kasurde <[email protected]> a
écrit :

> Hi,
>
> Could you please share your Inventory configuration file? Also, -vvv
> console log?
>
> Thanks
>
> On Fri, Jun 18, 2021 at 6:53 PM Sofian El-Kadouri <
> [email protected]> wrote:
>
>> Hello,
>> I want to set up a dynamic inventory but I have a problem with the
>> plugin. I have followed the ansible documentation :
>> https://docs.ansible.com/ansible/latest/scenario_guides/vmware_scenarios/vmware_inventory.html
>> I followed the tutorial but I get this error message:
>>
>>  [WARNING]: Failed to load inventory plugin, skipping vmware_vm_inventory
>>
>> ERROR! No inventory plugins available to generate inventory, make sure
>> you have at least one whitelisted.
>>
>> Did you encounter this problem?
>>
>> Thanks in advance
>>
>> --
>> 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/ffb15565-f732-4cb6-b239-872767f0f2b2n%40googlegroups.com
>> <https://groups.google.com/d/msgid/ansible-project/ffb15565-f732-4cb6-b239-872767f0f2b2n%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>
>
> --
> Thanks,
> Abhijeet Kasurde
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Ansible Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/ansible-project/a6JDjsDWgjI/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/ansible-project/CAFwWkHqo_n2E%2BADoNohYBagbEdP06zByQc%3DB6zEG%3DqpgLE7DPQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/ansible-project/CAFwWkHqo_n2E%2BADoNohYBagbEdP06zByQc%3DB6zEG%3DqpgLE7DPQ%40mail.gmail.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CABMz63y7d7_49p5UaDJuuH6fpBosrWc-okqRZzPzJ3-iTwmVZg%40mail.gmail.com.

Reply via email to