Hi. I believe the collection ansible.snmp is properly installed. Still, the error is "couldn't resolve module/action 'ansible.snmp.v3_usm'"
ISSUE TYPE
Bug Report
COMPONENT NAME
ANSIBLE VERSION
ansible [core 2.15.12]
with
Python 3.10.4
COLLECTION VERSION
$ ansible-galaxy collection list ansible.snmp
# /z/python-virtualenv/python3.10.4_ansible-core2.15/lib/python3.10/site-packages/ansible_collections
Collection Version
------------ -------
ansible.snmp 3.0.0
# Verify collection
$ ansible-galaxy collection verify ansible.snmp
Downloading https://galaxy.ansible.com/api/v3/plugin/ansible/content/published/collections/artifacts/ansible-snmp-3.0.0.tar.gz to /z/.ansible/tmp/ansible-local-943605cbae2l_8/tmpn1z3m8xi/ansible-snmp-3.0.0-w38zasj7
Verifying 'ansible.snmp:3.0.0'.
Installed collection found at '/z/python-virtualenv/python3.10.4_ansible-core2.15/lib/python3.10/site-packages/ansible_collections/ansible/snmp'
MANIFEST.json hash: f23aaf2329682b1d64feecbf4bcc2ad6f5402239bf1b7f96f88ca410176b9b41
Successfully verified that checksums for 'ansible.snmp:3.0.0' match the remote collection.
Actual result is error:
ERROR! couldn't resolve module/action 'ansible.snmp.v3_usm'
# During play run with -vvvv, messages are:
Loading collection ansible.builtin from
Loading collection community.general from /z/python-virtualenv/python3.10.4_ansible-core2.15/lib/python3.10/site-packages/ansible_collections/community/general
Interestingly there is no attempt to load collection ansible.snmp, which is installed in same location as community.general
SUMMARY
Hi. I believe the collection ansible.snmp is properly installed. Still, the error is "couldn't resolve module/action 'ansible.snmp.v3_usm'"
ISSUE TYPE
COMPONENT NAME
ANSIBLE VERSION
COLLECTION VERSION
CONFIGURATION
OS / ENVIRONMENT
RHEL 9
STEPS TO REPRODUCE
EXPECTED RESULTS
I expect that ansible.snmp.v3_usm is found.
ACTUAL RESULTS