vn-ansible/linux-config-zabbix-agent.yaml

17 lines
467 B
YAML
Raw Normal View History

2023-10-23 15:14:16 +00:00
---
2023-12-19 14:55:30 +00:00
- hosts: '{{ ip_addr }}'
2023-10-23 15:14:16 +00:00
become: yes
become_method: sudo
gather_facts: no
tasks:
2024-02-15 16:46:14 +00:00
- name: "[CONFIG ZABBIX AGENT] Comprobando si es necesario configurar ZABBIX AGENT"
debug:
msg: "No es necesario configurar ZABBIX AGENT en la máquina"
when: zabbix-agent_enabled is not defined or not zabbix-agent_enabled
2023-10-23 15:14:16 +00:00
- name: "[CONFIG ZABBIX AGENT] Install and configure ZABBIX AGENT"
import_role:
name: config-zabbix-agent