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
|
- name: Install nagios
|
||||||
ansible.builtin.apt:
|
ansible.builtin.package:
|
||||||
name:
|
name:
|
||||||
- nagios4
|
- nagios4
|
||||||
- git
|
- git
|
||||||
|
@ -75,6 +75,7 @@
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: nagios4
|
name: nagios4
|
||||||
state: reloaded
|
state: reloaded
|
||||||
|
enabled: true
|
||||||
|
|
||||||
- name: Configure htaccess for the web interface
|
- name: Configure htaccess for the web interface
|
||||||
ansible.builtin.template:
|
ansible.builtin.template:
|
||||||
|
@ -107,6 +108,7 @@
|
||||||
ansible.builtin.service:
|
ansible.builtin.service:
|
||||||
name: apache2
|
name: apache2
|
||||||
state: restarted
|
state: restarted
|
||||||
|
enabled: true
|
||||||
|
|
||||||
- name: Allow HTTP from vpn
|
- name: Allow HTTP from vpn
|
||||||
ansible.builtin.iptables:
|
ansible.builtin.iptables:
|
||||||
|
|
Loading…
Reference in a new issue