add conditional
This commit is contained in:
parent
3f2ddaa773
commit
3715668663
|
@ -7,6 +7,11 @@
|
|||
|
||||
tasks:
|
||||
|
||||
- name: "[CONFIG NAGIOS NRPE] Comprobando si es necesario configurar nagios nrpe service "
|
||||
debug:
|
||||
msg: "No es necesario configurar nagios nrpe service en la máquina"
|
||||
when: nagios-nrpe_enabled is not defined or not nagios-nrpe_enabled
|
||||
|
||||
- name: "[CONFIG NAGIOS NRPE] Install and configure nagios nrpe service"
|
||||
import_role:
|
||||
name: config-nagios-nrpe
|
|
@ -2,6 +2,10 @@
|
|||
# Install and configure NAGIOS-NRPE
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
|
||||
- name: "[CONFIG NAGIOS NRPE] Comprobando si es necesario configurar nagios nrpe service "
|
||||
meta: end_host
|
||||
when: nagios-nrpe_enabled is not defined or not nagios-nrpe_enabled
|
||||
|
||||
#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
|
||||
# paso1
|
||||
# install packages for nagios-nrpe
|
||||
|
|
Loading…
Reference in New Issue