Modificado

This commit is contained in:
IvanMarts 2025-03-11 09:51:04 +01:00
parent 8886f187d5
commit ff4f33744e

View File

@ -14,7 +14,12 @@
- role: community.zabbix.zabbix_agent - role: community.zabbix.zabbix_agent
# Versión del agente a instalar # Versión del agente a instalar
zabbix_agent2: true zabbix_agent2: true
zabbix_agent_config: {} zabbix_agent_config:
Server: "192.168.1.10" # Obligatorio: IP/host del servidor Zabbix
ServerActive: "192.168.1.10" # Obligatorio para checks activos
Hostname: "{{ ansible_hostname }}" # Obligatorio: Nombre único en Zabbix
User: root # Usuario para ejecutar comandos
AllowRoot: 1
# Ejecutar servicio como root # Ejecutar servicio como root
zabbix_agent_user: root zabbix_agent_user: root