feat: Enable Nagios and Apache

Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
Julien Riou 2024-07-27 19:29:14 +02:00
parent 36c0ce1de6
commit a8389a7c0a
No known key found for this signature in database
GPG key ID: A2EB1F2CA8E3F677

View file

@ -1,6 +1,6 @@
---
- name: Install nagios
ansible.builtin.apt:
ansible.builtin.package:
name:
- nagios4
- git
@ -75,6 +75,7 @@
ansible.builtin.service:
name: nagios4
state: reloaded
enabled: true
- name: Configure htaccess for the web interface
ansible.builtin.template:
@ -107,6 +108,7 @@
ansible.builtin.service:
name: apache2
state: restarted
enabled: true
- name: Allow HTTP from vpn
ansible.builtin.iptables: