Verified Commit ed358f32 authored by Florian Pritz's avatar Florian Pritz
Browse files

zabbix-agent: Add host_groups

These are required to be set when adding a new host.

Signed-off-by: Florian Pritz's avatarFlorian Pritz <>
parent 4366b9b0
......@@ -33,6 +33,10 @@ zabbix_agent_templates:
- Template App SSH Service
- Template App Zabbix Server
- Linux servers
- Zabbix servers
configure_firewall: true
# this is needed to make ansible find the firewalld python
......@@ -5,3 +5,5 @@ zabbix_agent_dns: "{{inventory_hostname}}"
zabbix_agent_useip: 0
# TODO set this as a default here once the value has been set correctly for each host. Otherwise we might remove templates from a host by accident
#zabbix_agent_template: ['Template OS Linux']
- Linux servers
......@@ -35,6 +35,7 @@
login_user: "{{vault_zabbix_admin_user}}"
login_password: "{{vault_zabbix_admin_password}}"
host_name: "{{inventory_hostname}}"
host_groups: "{{zabbix_agent_host_groups}}"
visible_name: "{{inventory_hostname}}"
link_templates: "{{zabbix_agent_templates}}"
status: enabled
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment