Hi,i got this playbook- hosts: localhost
tasks:
- name: Get List of Content Libraries
community.vmware.vmware_content_library_info:
hostname: value
username: value
password: value
delegate_to: localhostbut received this message: 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 cn.localdomain's Python /usr/bin/python3.9. See https://code.vmware.com/web/sdk/7.0/vsphere-automation-python for more info. Please read the module documentation and install it 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"}Thanks--
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 ansible-proje...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/40f3d057-e688-493a-899c-4b930eb2d9adn%40googlegroups.com.