We are receiving a failed message while executing job template in AWX (13.0) to connect VMware Vcenters, as per our initial observation this failed error message is receiving when unable to find module “community.vmware.vmware_datacenter_info”.
Error message - fatal: [localhost]: FAILED! => {"msg": "Could not find imported module support code for version. Looked for either LooseVersion.py or version.py"}
We gone through the below Ansible documentation for "community.vmware.vmware_datacenter_info module – Gather information about VMware vSphere Datacenters" and requirements "python >= 2.7 & PyVmomi" exist on Linux server.
We don’t find any other VMware data center info module other than community module.
https://docs.ansible.com/ansible/2.9/collections/community/vmware/vmware_datacenter_info_module.html
Below collections are mentioned in requirements.yml file.
collections:
- community.general
- community.vmware
However the same job template is working fine in other AWX environment (19.0) on same server linux server.
Appreciate any help on this issue.
We have a dedicated Working Group for VMware. You can find other people interested in this in the #ansible-vmware channel on libera.chat IRC. For more information about communities, meetings and agendas see https://github.com/ansible/community/wiki/VMware."
Hope that is helpful
AWX Team