asasddasd

This commit is contained in:
IvanMarts 2025-03-11 10:14:44 +01:00
parent 88a8f2e6b9
commit bb9acfeb82

View File

@ -15,19 +15,19 @@
#zabbix_agent_config: #zabbix_agent_config:
# Server: "192.168.1.10" # IP/host del servidor Zabbix # Server: "192.168.1.10" # IP/host del servidor Zabbix
# ServerActive: "192.168.1.10" # Servidor activo # ServerActive: "192.168.1.10" # Servidor activo
# Hostname: "{{ ansible_hostname }}" # Nombre único en Zabbix ## Hostname: "{{ ansible_hostname }}" # Nombre único en Zabbix
# AllowRoot: 1 # Permitir ejecución como root # AllowRoot: 1 # Permitir ejecución como root
# Ejecutar servicio como root # Ejecutar servicio como root
zabbix_agent_user: root #zabbix_agent_user: root
zabbix_agent_group: root #zabbix_agent_group: root
tasks: #tasks:
- name: Copiar configuración personalizada # - name: Copiar configuración personalizada
ansible.builtin.copy: # ansible.builtin.copy:
src: config/zabbix_agent2.conf # Archivo en tu directorio de Ansible # src: config/zabbix_agent2.conf # Archivo en tu directorio de Ansible
dest: /etc/zabbix/zabbix_agent2.conf # dest: /etc/zabbix/zabbix_agent2.conf
owner: root # owner: root
group: root # group: root
mode: 0644 # mode: 0644