feat: Enable Nagios and Apache
Signed-off-by: Julien Riou <julien@riou.xyz>
This commit is contained in:
parent
36c0ce1de6
commit
a8389a7c0a
1 changed files with 3 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue