# Zabbix module change: zabbix\_host\_info

**URL:** <https://forum.ansible.com/t/zabbix-module-change-zabbix-host-info/33230>\
**Category:** Ansible Developer\
**Created:** [June 22, 2020, 7:57am UTC](https://forum.ansible.com/t/zabbix-module-change-zabbix-host-info/33230 "2020-06-22T07:57:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arjan\_Goos](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@Arjan\_Goos](https://forum.ansible.com/u/Arjan_Goos)\
**Post date:** [June 22, 2020, 7:57am UTC](https://forum.ansible.com/t/zabbix-module-change-zabbix-host-info/33230/1 "2020-06-22T07:57:15Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![gundalow](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/gundalow/32/99_2.png) [@gundalow](https://forum.ansible.com/u/gundalow)\
**Post date:** [June 22, 2020, 3:21pm UTC](https://forum.ansible.com/t/zabbix-module-change-zabbix-host-info/33230/2 "2020-06-22T15:21:50Z")

</div>

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](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](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](https://github.com/ansible-collections/community.zabbix/tree/master/roles)

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