Zabbix module change: zabbix_host_info

I want to request an change for this module but I do not know how to do this.

In the zabbix_host_facts.py when an host is searched the groups are not queried. When an extra option is added the groups will be queried

128 host_list = self._zapi.host.get({‘output’: ‘extend’, ‘selectGroups’: ‘extend’, ‘selectParentTemplates’: [‘name’], search_key: {‘host’: [host_name]},
129 ‘selectInventory’: host_inventory})

Can someone help me to get this change in the next version?

Hi,
zabbix_host_facts is actually zabbix_host_info

You can find the code for that in https://github.com/ansible-collections/community.zabbix/blob/master/plugins/modules/zabbix_host_info.py

If you raise a PR against the above file, then the Zabbix Working Group will help you get that code into the next release of the community.zabbix collection.

You might be interested in https://github.com/ansible-collections/community.zabbix/issues which shows the other things they are working on, which includes a load of Zabbix roles https://github.com/ansible-collections/community.zabbix/tree/master/roles

Kind regards,
John “gundalow” Barker
Principal Engineer
Ansible by Red Hat