vn-ansible/linux-config-nagios-nrpe.yaml

17 lines
484 B
YAML
Raw Normal View History

2023-10-17 13:10:41 +00:00
---
2023-12-19 14:55:30 +00:00
- hosts: '{{ ip_addr }}'
2023-10-17 13:10:41 +00:00
become: yes
become_method: sudo
gather_facts: no
tasks:
2024-02-15 16:23:12 +00:00
- 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
2023-10-18 10:26:07 +00:00
- name: "[CONFIG NAGIOS NRPE] Install and configure nagios nrpe service"
2023-10-17 13:10:41 +00:00
import_role:
2023-10-18 10:26:07 +00:00
name: config-nagios-nrpe