Actualizar linux-config-nagios-nrpe.yaml

This commit is contained in:
David Lopez 2024-09-06 20:18:01 +00:00
parent 05e294deec
commit ca6d0623c7
1 changed files with 4 additions and 9 deletions

View File

@ -6,12 +6,7 @@
gather_facts: no gather_facts: no
tasks: tasks:
# Paso 1: Instalar paquetes necesarios para Nagios NRPE - name: "[CONFIG NAGIOS NRPE] Install and configure nagios nrpe service"
- name: "[CONFIG NAGIOS NRPE] Instalar paquetes nagios-nrpe-server y nagios-nrpe-plugin" import_role:
apt: name: config-nagios-nrpe
name: "{{ item }}" when: nagios_nrpe_enabled is defined and nagios_nrpe_enabled
state: present
update_cache: yes
loop:
- nagios-nrpe-server
- nagios-nrpe-plugin