diff --git a/zabbix/zabbix_agent_debian.yml b/zabbix/zabbix_agent_debian.yml index b8b80a0..ae51527 100644 --- a/zabbix/zabbix_agent_debian.yml +++ b/zabbix/zabbix_agent_debian.yml @@ -11,11 +11,12 @@ vars: # Especificar que se instalará Zabbix Agent2 zabbix_agent_variant: 2 - zabbix_agent_config: - Server: "192.168.1.10" # IP/host del servidor Zabbix - ServerActive: "192.168.1.10" # Servidor activo - Hostname: "{{ ansible_hostname }}" # Nombre único en Zabbix - AllowRoot: 1 # Permitir ejecución como root + zabbix_agent_package_state: present + #zabbix_agent_config: + # Server: "192.168.1.10" # IP/host del servidor Zabbix + # ServerActive: "192.168.1.10" # Servidor activo + # Hostname: "{{ ansible_hostname }}" # Nombre único en Zabbix + # AllowRoot: 1 # Permitir ejecución como root # Ejecutar servicio como root zabbix_agent_user: root