ansible / ansible.builtin / v2.8.13 / module / zabbix_group_facts Gather facts about Zabbix hostgroup | "added in version" 2.6 of ansible.builtin" Authors: Michael Miko (@RedWhiteMiko) preview | supported by communityansible.builtin.zabbix_group_facts (v2.8.13) — module
pip
Install with pip install ansible==2.8.13
This module allows you to search for Zabbix hostgroup entries.
- name: Get hostgroup info local_action: module: zabbix_group_facts server_url: http://monitor.example.com login_user: username login_password: password hostgroup_name: - ExampleHostgroup timeout: 10
hostgroup_name: description: - Name of the hostgroup in Zabbix. - hostgroup is the unique identifier used and cannot be updated using this module. required: true http_login_user: description: - Basic Auth login required: false type: str http_login_password: description: - Basic Auth password required: false type: str
host_groups: description: List of Zabbix groups. returned: success sample: - flags: '0' groupid: '33' internal: '0' name: Hostgruup A type: dict