add conditional
This commit is contained in:
parent
092fdd1fcb
commit
c8334a41bd
|
@ -7,6 +7,11 @@
|
||||||
|
|
||||||
tasks:
|
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"
|
- name: "[CONFIG ZABBIX AGENT] Install and configure ZABBIX AGENT"
|
||||||
import_role:
|
import_role:
|
||||||
name: config-zabbix-agent
|
name: config-zabbix-agent
|
|
@ -2,6 +2,10 @@
|
||||||
# Install and configure ZABBIX AGENT
|
# Install and configure ZABBIX AGENT
|
||||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
|
|
||||||
|
- name: "[CONFIG ZABBIX AGENT] Comprobando si es necesario configurar ZABBIX AGENT"
|
||||||
|
meta: end_host
|
||||||
|
when: zabbix-agent_enabled is not defined or not zabbix-agent_enabled
|
||||||
|
|
||||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||||
# Paso1
|
# Paso1
|
||||||
# Download zabbix repository
|
# Download zabbix repository
|
||||||
|
|
Loading…
Reference in New Issue