dhcp: implement failover peer configuration

This commit is contained in:
Yohaï-Eliel BERREBY 2020-04-06 14:41:34 +02:00
parent 2a0a2e2ac6
commit 34b448faec
4 changed files with 37 additions and 15 deletions

4
group_vars/dhcp/vars.yml Normal file
View file

@ -0,0 +1,4 @@
---
dhcp_failover:
primary_host: dhcp-{{ apartment_block }}.adm.auro.re
secondary_host: dhcp-{{ apartment_block }}-backup.adm.auro.re

View file

@ -5,7 +5,3 @@ subnet_ids:
ap: 142
users_wired: 20
users_wifi: 21
failover:
own_address: 10.128.2.254
peer_address: 10.128.2.154