17 lines
484 B
YAML
17 lines
484 B
YAML
---
|
|
|
|
- hosts: '{{ ip_addr }}'
|
|
become: yes
|
|
become_method: sudo
|
|
gather_facts: no
|
|
|
|
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 |