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

17 lines
404 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:
# Paso 1: Instalar paquetes necesarios para Nagios NRPE
- name: "[CONFIG NAGIOS NRPE] Instalar paquetes nagios-nrpe-server y nagios-nrpe-plugin"
apt:
name: "{{ item }}"
state: present
update_cache: yes
loop:
- nagios-nrpe-server
- nagios-nrpe-plugin