Fix dhcp config (local addr instead of interface), define site_domain
This commit is contained in:
parent
71cc89884d
commit
a774357218
@ -2,13 +2,15 @@
|
||||
|
||||
certmgr_mode: webserver
|
||||
|
||||
confluence_domain: confluence.regensburg.freifunk.net
|
||||
confluence_dbname: confluence
|
||||
confluence_dbuser: confluence
|
||||
confluence_dbpass: "{{ vault_confluence_dbpass }}"
|
||||
|
||||
ntp_servers:
|
||||
- 0.de.pool.ntp.org
|
||||
- 1.de.pool.ntp.org
|
||||
- 2.de.pool.ntp.org
|
||||
- 3.de.pool.ntp.org
|
||||
|
||||
confluence_domain: confluence.regensburg.freifunk.net
|
||||
confluence_dbname: confluence
|
||||
confluence_dbuser: confluence
|
||||
confluence_dbpass: "{{ vault_confluence_dbpass }}"
|
||||
site_domain: regensburg.freifunk.net
|
||||
|
@ -1,6 +1,5 @@
|
||||
---
|
||||
|
||||
dhcp_interface: br-{{ site_code }}
|
||||
dhcp_first: "{{ batman_ipv4 | ipaddr('512') | ipaddr('address') }}"
|
||||
dhcp_last: "{{ batman_ipv4 | ipaddr('2558') | ipaddr('address') }}"
|
||||
name_server: "{{ batman_ipv4 | ipaddr('address') }}"
|
||||
|
@ -1,9 +1,11 @@
|
||||
# dhcpd.conf
|
||||
# {{ ansible_managed }}
|
||||
|
||||
# option definitions common to all supported networks...
|
||||
option domain-name "{{ site_domain }}";
|
||||
option domain-name-servers {{ name_server }};
|
||||
|
||||
local-address {{ batman_ipv4 | ipaddr('address') }};
|
||||
|
||||
default-lease-time 3600;
|
||||
max-lease-time 14400;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user