new syntax
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
allow-from = 192.168.1.0/24, 192.168.3.0/24, 172.16.0.0/24, 127.0.0.0/8
|
||||
local-address += {{ ansible_default_ipv4.address }} {% if wg_local_ip is defined %}, {{ wg_local_ip | ipaddr('address') }} {% else %}
|
||||
local-address += {{ ansible_default_ipv4.address }} {% if wg_local_ip is defined %}, {{ wg_local_ip | ansible.utils.ipaddr('address') }} {% else %}
|
||||
local-port = {{ pdns-recursor-lport | default("53") }}
|
||||
query-local-address = {{ ansible_default_ipv4.address }} {% if ansible_default_ipv6.address is defined %}, {{ ansible_default_ipv6.address }} {% else %}
|
||||
@@ -1,7 +1,7 @@
|
||||
server:
|
||||
ip-freebind: yes
|
||||
{% if wg_local_ip is defined %}
|
||||
interface: {{ wg_local_ip | ipaddr('address') }}
|
||||
interface: {{ wg_local_ip | ansible.utils.ipaddr('address') }}
|
||||
{% else %}
|
||||
interface: {{ ansible_default_ipv4.address }}
|
||||
{% endif %}
|
||||
|
||||
Reference in New Issue
Block a user