role apache2only pour s-webcom

This commit is contained in:
unknown 2023-06-01 19:06:16 +02:00
parent b24ffddff7
commit bf53efbe7e
5 changed files with 20 additions and 3 deletions

View File

@ -0,0 +1,5 @@
---
- name: restart apache2
service:
name: apache2
state: restarted

View File

@ -0,0 +1,10 @@
---
- name: apt update
apt:
update_cache: yes
cache_valid_time: 3600
- name: Install apache2
apt:
pkg:
- apache2

View File

@ -5,7 +5,7 @@
; ;
$TTL 604800 $TTL 604800
@ IN SOA s-infra.gsb.lan. root.s-infra.gsb.lan. ( @ IN SOA s-infra.gsb.lan. root.s-infra.gsb.lan. (
2023051000 ; Serial 2023060100 ; Serial
7200 ; Refresh 7200 ; Refresh
86400 ; Retry 86400 ; Retry
8419200 ; Expire 8419200 ; Expire
@ -26,6 +26,7 @@ s-docker IN A 172.16.0.7
s-mon IN A 172.16.0.8 s-mon IN A 172.16.0.8
s-itil IN A 172.16.0.9 s-itil IN A 172.16.0.9
s-elk IN A 172.16.0.11 s-elk IN A 172.16.0.11
s-webcom IN A 172.16.0.12
s-gestsup IN A 172.16.0.17 s-gestsup IN A 172.16.0.17
r-int IN A 172.16.0.254 r-int IN A 172.16.0.254
r-int-lnk IN A 192.168.200.254 r-int-lnk IN A 192.168.200.254

View File

@ -5,7 +5,7 @@
; ;
$TTL 604800 $TTL 604800
@ IN SOA s-infra.gsb.lan. root.s-infra.gsb.lan. ( @ IN SOA s-infra.gsb.lan. root.s-infra.gsb.lan. (
2023040501 ; Serial 2023060100 ; Serial
7200 ; Refresh 7200 ; Refresh
86400 ; Retry 86400 ; Retry
8419200 ; Expire 8419200 ; Expire
@ -26,5 +26,6 @@ $TTL 604800
100.10 IN PTR s-lb 100.10 IN PTR s-lb
100.10 IN PTR s-lb.gsb.lan 100.10 IN PTR s-lb.gsb.lan
11.0 IN PTR s-elk.gsb.lan. 11.0 IN PTR s-elk.gsb.lan.
12.0 IN PTR s-webcom.gsb.lan.
17.0 IN PTR s-gestsup.lan 17.0 IN PTR s-gestsup.lan
254.0 IN PTR r-int.gsb.lan. 254.0 IN PTR r-int.gsb.lan.

View File

@ -7,5 +7,5 @@
- ssh-cli - ssh-cli
- syslog-cli - syslog-cli
- snmp-agent - snmp-agent
- apache2 - apache2only
- post - post