ansible-collections / community.zabbix

Zabbix Ansible modules
http://galaxy.ansible.com/community/zabbix
Other
330 stars 286 forks source link

ERROR! couldn't resolve module/action 'community.zabbix.zabbix_group #1419

Open bnjeongwo opened 2 weeks ago

bnjeongwo commented 2 weeks ago

I cloned this repo and tried to use the zabbix_agent role to install the zabbix agent on rhel9 but it os failing with the below error message

TASK [community.zabbix/roles/zabbix_agent : Run the API calls to Zabbix Server] ***** ERROR! couldn't resolve module/action 'community.zabbix.zabbix_group'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/opt/ansible/community.zabbix/roles/zabbix_agent/tasks/api.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:


bnjeongwo commented 2 weeks ago

[ansible@repo ansible]$ ansible-galaxy collection list

/usr/share/ansible/collections/ansible_collections

Collection Version


redhat.rhel_system_roles 1.23.0

/home/ansible/.ansible/collections/ansible_collections

Collection Version


ansible.netcommon 7.1.0 ansible.posix 1.6.2 ansible.utils 5.1.2 community.general 10.0.0 community.zabbix 3.1.2