ff
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
interface={{ wifi_int.stdout_lines | first }}
|
||||
dhcp-range={{ range_start }},{{ range_end }},2h
|
||||
# MANAGED BY ANSIBLE DONT TOUCH BY HANDS #
|
||||
{% for interface in without_lte.stdout_lines %}
|
||||
interface={{ interface }}
|
||||
{% endfor %}
|
||||
{% for nameserver in nameservers %}
|
||||
server={{ nameserver }}
|
||||
{% endfor %}
|
||||
dhcp-range={{ range_start }},{{ range_end }},12h
|
||||
dhcp-option=1,{{ netmask }}
|
||||
dhcp-option=2,{{ lease_time }} # время аренды в секундах
|
||||
dhcp-option=3,{{ wifi_int_ip }} # шлюз по умолчанию
|
||||
dhcp-option=6,{{ dns1 }}
|
||||
dhcp-authoritative
|
||||
# Static
|
||||
{% for mac_ip in static %}
|
||||
dhcp-host={{ mac_ip }}
|
||||
{% endfor %}
|
||||
log-queries
|
||||
#log-dhcp
|
||||
log-facility=/var/log/dnsmasq.log
|
||||
log-facility=/var/log/dnsmasq.log
|
||||
|
||||
Reference in New Issue
Block a user