# AWX - Could not find imported module support code for community.vmware (AWX -13.0)

**URL:** <https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659>\
**Category:** AWX Project\
**Tags:** vmware, awx\
**Created:** [May 25, 2022, 12:12pm UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659 "2022-05-25T12:12:47Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sagar\_Dharaskar](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Sagar\_Dharaskar](https://forum.ansible.com/u/Sagar_Dharaskar)\
**Post date:** [May 25, 2022, 12:12pm UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659/1 "2022-05-25T12:12:47Z")

</div>

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.

[https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware\_datacenter\_info\_module.html](https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_datacenter_info_module.html)

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](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.

---

<div class="post-metadata">

**Author:** ![Sagar\_Dharaskar](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Sagar\_Dharaskar](https://forum.ansible.com/u/Sagar_Dharaskar)\
**Post date:** [May 30, 2022, 6:04am UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659/2 "2022-05-30T06:04:26Z")

</div>

Hi Team,

Appreciate quick response on this issue.

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [June 1, 2022, 12:01pm UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659/3 "2022-06-01T12:01:23Z")

</div>

AWX uses a python virtual environment (which can be located in /var/lib/awx/venv/ansible inside the container) in version 13 and uses an execution environment (something like a container) in version 19.  
Because of this, the version of the operating system and its packages installed may be irrelevant for the execution of Ansible under AWX.  
If this collection is working in 19 and not in 13 you may need to look at the difference between the execution environment you are using in 19 and the virtual environment you are using in version 13.  
Once you find those differences you may be able to add an additional virtual environment under version 13 to be able to use this collection from that version of AWX.  
You may also want to look at the version of ansible you are using in version 13 and see if there is a different module available to perform this function (older versions of Ansible shipped with built in modules instead of collections).  
If you need further support as to what may need to be in the environment in order to use this collection or what modules should be used I would reach out to the collection maintainers.

- The AWX Team

---

<div class="post-metadata">

**Author:** ![Sagar\_Dharaskar](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Sagar\_Dharaskar](https://forum.ansible.com/u/Sagar_Dharaskar)\
**Post date:** [June 2, 2022, 3:38pm UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659/4 "2022-06-02T15:38:59Z")

</div>

Hi Team,

Thank you for your response.

We are new to the AWX environment and we request your help to know built in modules for AWX 13 version VMware collections.

We also checked python version under AWX 13 version is 3.6 python.

Appreciate a quick response on this.

---

<div class="post-metadata">

**Author:** ![Sagar\_Dharaskar](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Sagar\_Dharaskar](https://forum.ansible.com/u/Sagar_Dharaskar)\
**Post date:** [June 7, 2022, 7:01am UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659/5 "2022-06-07T07:01:11Z")

</div>

Hi Team,

Appreciate If you could reach out to collection maintainers for which modules should be used for AWX 13 version or what may need to be in the environment in order to use this collection/modules.

Looking forward for your response.

---

<div class="post-metadata">

**Author:** ![Sagar\_Dharaskar](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Sagar\_Dharaskar](https://forum.ansible.com/u/Sagar_Dharaskar)\
**Post date:** [June 13, 2022, 12:43pm UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659/6 "2022-06-13T12:43:37Z")

</div>

Hi Team,

Following up on this request.

Appreciate If you could reach out to collection maintainers for which modules should be used for AWX 13 version or what may need to be in the environment in order to use this collection/modules.

Looking forward for your response.

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [June 14, 2022, 12:45pm UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659/7 "2022-06-14T12:45:57Z")

</div>

AWX 13 is extremely old and, like you stated, this works in version 19. AWX is a community project and we have limited time as a team to devote to support. With the age of AWX 13 we will not be able to further help you troubleshoot why the vmware modules are not working there. Our recommendation is that you upgrade from version 13 to a later version of AWX where we know the modules do work. However, if that is not possible and you need to get the modules running under AWX 13 you will need to reach out the maintainers of the vmware modules yourself to see if they are able to help you.

---

<div class="post-metadata">

**Author:** ![Sagar\_Dharaskar](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Sagar\_Dharaskar](https://forum.ansible.com/u/Sagar_Dharaskar)\
**Post date:** [June 15, 2022, 7:17am UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659/8 "2022-06-15T07:17:32Z")

</div>

Thank you team for your response.

If you could assist us on how to reach out to collection maintainers for VMware modules, it would be great.

Awaiting your response on same.

---

<div class="post-metadata">

**Author:** ![AWX\_Project](https://avatars.discourse-cdn.com/v4/letter/a/eada6e/32.png) [@AWX\_Project](https://forum.ansible.com/u/AWX_Project)\
**Post date:** [June 15, 2022, 8:13pm UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659/9 "2022-06-15T20:13:58Z")

</div>

please see the bottom of this page [https://galaxy.ansible.com/community/vmware](https://galaxy.ansible.com/community/vmware)

"Communication

We have a dedicated Working Group for VMware. You can find other people interested in this in the #ansible-vmware channel on [libera.chat](https://libera.chat/) IRC. For more information about communities, meetings and agendas see [https://github.com/ansible/community/wiki/VMware.](https://github.com/ansible/community/wiki/VMware.)"

Hope that is helpful

AWX Team

---

<div class="post-metadata">

**Author:** ![Sagar\_Dharaskar](https://avatars.discourse-cdn.com/v4/letter/s/87869e/32.png) [@Sagar\_Dharaskar](https://forum.ansible.com/u/Sagar_Dharaskar)\
**Post date:** [June 17, 2022, 10:48am UTC](https://forum.ansible.com/t/awx-could-not-find-imported-module-support-code-for-community-vmware-awx-13-0/36659/10 "2022-06-17T10:48:28Z")

</div>

HI Team,

Thank you for your response.

We will reach out to VMware collection maintainers and will get back to you in case of any help needed.
