17 lines
467 B
YAML
17 lines
467 B
YAML
---
|
|
|
|
- hosts: '{{ ip_addr }}'
|
|
become: yes
|
|
become_method: sudo
|
|
gather_facts: no
|
|
|
|
tasks:
|
|
|
|
- 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
|
|
|
|
- name: "[CONFIG ZABBIX AGENT] Install and configure ZABBIX AGENT"
|
|
import_role:
|
|
name: config-zabbix-agent |