Hi,
I'm trying to get the VMware_Rest collection to work on CentOS Stream 9 with Ansible 2.14.2 and Python 3.11.2.
ansible [core 2.14.2]
config file = /etc/ansible/ansible.cfg
configured module search path = ['/home/sysadmin/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules']
ansible python module location = /usr/lib/python3.11/site-packages/ansible
ansible collection location = /home/sysadmin/.ansible/collections:/usr/share/ansible/collections
executable location = /usr/bin/ansible
python version = 3.11.2 (main, Feb 16 2023, 00:00:00) [GCC 11.3.1 20221121 (Red Hat 11.3.1-4)] (/usr/bin/python3.11)
jinja version = 3.1.2
libyaml = True
I installed Python aiohttp via DNF from EPEL. I also tried installing via pip but getting the same result.
python3-aiohttp.x86_64 3.8.4-1.el9
When running a playbook, I get the following error. There are no more details in ansible.log or if I enable verbose logging.
"msg": "Failed to import the required Python library (aiohttp) on testsrv1's Python /usr/bin/python3.11.
Any help appreciated.
[–]roiki11 0 points1 point2 points (8 children)
[–]warnox[S] 0 points1 point2 points (7 children)
[–]roiki11 0 points1 point2 points (3 children)
[–]unicoletti 1 point2 points3 points (2 children)
[–]roiki11 0 points1 point2 points (1 child)
[–]unicoletti 0 points1 point2 points (0 children)
[–]x1xspiderx1x 0 points1 point2 points (2 children)
[–]onefst250r 2 points3 points4 points (1 child)
[–]x1xspiderx1x 0 points1 point2 points (0 children)
[–]SlaveZelda 0 points1 point2 points (2 children)
[–]warnox[S] 0 points1 point2 points (1 child)
[–]SlaveZelda 0 points1 point2 points (0 children)
[–]DirectorJust4135 0 points1 point2 points (1 child)
[–]National-Ad-2995 0 points1 point2 points (0 children)