Compare commits
2 Commits
v0.0.4l-ch
...
v0.0.4p-jc
Author | SHA1 | Date | |
---|---|---|---|
8b59a5553f | |||
5f1b04fd96 |
@ -7,15 +7,15 @@ iface lo inet loopback
|
|||||||
# carte n-adm
|
# carte n-adm
|
||||||
allow-hotplug enp0s3
|
allow-hotplug enp0s3
|
||||||
iface enp0s3 inet static
|
iface enp0s3 inet static
|
||||||
address 192.168.99.101/24
|
address 192.168.99.102/24
|
||||||
|
|
||||||
# Réseau n-dmz-lb
|
# Réseau n-dmz-lb
|
||||||
allow-hotplug enp0s8
|
allow-hotplug enp0s8
|
||||||
iface enp0s8 inet static
|
iface enp0s8 inet static
|
||||||
address 192.168.101.1/24
|
address 192.168.101.2/24
|
||||||
|
|
||||||
# réseau n-dmz-db
|
# réseau n-dmz-db
|
||||||
allow-hotplug enp0s9
|
allow-hotplug enp0s9
|
||||||
iface enp0s9 inet static
|
iface enp0s9 inet static
|
||||||
address 192.168.102.1/24
|
address 192.168.102.2/24
|
||||||
post-up mount -o rw 192.168.102.253:/home/wordpress /var/www/html
|
post-up mount -o rw 192.168.102.253:/home/wordpress /var/www/html
|
||||||
|
@ -34,3 +34,10 @@
|
|||||||
- { regexp: '^(ServerActive\s*=\s*).*$', replace: 'ServerActive = 192.168.99.8' }
|
- { regexp: '^(ServerActive\s*=\s*).*$', replace: 'ServerActive = 192.168.99.8' }
|
||||||
- { regexp: '^(Hostname\s*=\s*).*$', replace: 'Hostname = {{ ansible_hostname }}' }
|
- { regexp: '^(Hostname\s*=\s*).*$', replace: 'Hostname = {{ ansible_hostname }}' }
|
||||||
- { regexp: '^(Include\s*=\s*).*$', replace: 'Include = /etc/zabbix/zabbix_agentd.d/*.conf' }
|
- { regexp: '^(Include\s*=\s*).*$', replace: 'Include = /etc/zabbix/zabbix_agentd.d/*.conf' }
|
||||||
|
|
||||||
|
- name: Enable Zabbix agent service
|
||||||
|
service:
|
||||||
|
name: zabbix-agent
|
||||||
|
state: restarted
|
||||||
|
enabled: yes
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user