Create host groups if they do not exist. ,Delete existing host groups if they exist.


server_url Url of Zabbix server, with protocol (http or https). C(url) is an alias for C(server_url). true
login_user Zabbix user name. true
login_password Zabbix user password. true
state Create or delete host group.
  • present
  • absent
timeout The timeout of API request(seconds).
host_groups List of host groups to create or delete. true


(@cove) ,Tony Minfei Ding ,Harrison Gu (@harrisongu)