diff --git a/inventories/group_vars/all.yml b/inventories/group_vars/all.yml index 2e8d5ad..fdadcd2 100644 --- a/inventories/group_vars/all.yml +++ b/inventories/group_vars/all.yml @@ -31,6 +31,7 @@ base_packages: - btop - ncdu - debconf-utils + - net-tools locales_present: - en_US.UTF-8 - es_ES.UTF-8 diff --git a/roles/debian-base/defaults/main.yaml b/roles/debian-base/defaults/main.yaml index 6bd18b1..fa8f6da 100644 --- a/roles/debian-base/defaults/main.yaml +++ b/roles/debian-base/defaults/main.yaml @@ -5,3 +5,6 @@ fail2ban: bantime: 600 maxretry: 4 ignore: "127.0.0.0/8 {{ dc_net }}" +vn_host: + url: http://apt.verdnatura.es/pool/main/v/vn-host + package: vn-host_2.0.2_all.deb diff --git a/roles/debian-base/handlers/main.yml b/roles/debian-base/handlers/main.yml index 379bf91..2626302 100644 --- a/roles/debian-base/handlers/main.yml +++ b/roles/debian-base/handlers/main.yml @@ -19,4 +19,4 @@ - name: reconfigure tzdata command: dpkg-reconfigure -f noninteractive tzdata - name: update exim configuration - command: /usr/sbin/update-exim4.conf + command: /usr/sbin/update-exim4.conf \ No newline at end of file diff --git a/roles/debian-base/tasks/nrpe.yml b/roles/debian-base/tasks/nrpe.yml index 57ab588..31e5f64 100644 --- a/roles/debian-base/tasks/nrpe.yml +++ b/roles/debian-base/tasks/nrpe.yml @@ -2,9 +2,11 @@ apt: name: "{{ item }}" state: present + install_recommends: no loop: - nagios-nrpe-server - nagios-plugins-contrib + - monitoring-plugins-basic - name: Set NRPE generic configuration template: src: nrpe.cfg diff --git a/roles/debian-base/vars/main.yml b/roles/debian-base/vars/main.yml deleted file mode 100644 index 17fe0d6..0000000 --- a/roles/debian-base/vars/main.yml +++ /dev/null @@ -1,3 +0,0 @@ -vn_host: - url: http://apt.verdnatura.es/pool/main/v/vn-host - package: vn-host_2.0.2_all.deb