Hi,
I want to use the community.vmware.vmware_tag ( https://docs.ansible.com/ansible/latest/collections/community/vmware/vmware_tag_module.html) module but when I user it with AWX it throws the following error.
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ModuleNotFoundError: No module named ‘com’
fatal: [localhost]: FAILED! => {“changed”: false, “msg”: “Failed to import the required Python library (vSphere Automation SDK) on awx’s Python /usr/libexec/platform-python. See https://code.vmware.com/web/sdk/7.0/vsphere-automation-python for more info. Please read module documentation and install in the appropriate location. If the required library is installed, but Ansible is using the wrong Python interpreter, please consult the documentation on ansible_python_interpreter”}
I think this is because AWX does not have the vSphere Automation SDK module that is a requirement. (is this a bug?)
I know how to add role and collection requirements but how do you add pip requirements to so that AWX can download the requirements. I can always hack the docker container but what is the right way to do this?
Thank you,