use local address if no wg address is set
This commit is contained in:
1 parent
fc2eea9d9b
commit
bd40d3c58d
1 file changed
+1
-1
@@ -1,6 +1,6 @@
|
||||
server:
|
||||
ip-freebind: yes
|
||||
{% if wg_local_ip %}
|
||||
{% if wg_local_ip is defined %}
|
||||
interface: {{ wg_local_ip | ipaddr('address') }}
|
||||
{% else %}
|
||||
interface: {{ ansible_default_ipv4.address }}
|
||||
|
||||
Reference in new issue
Block a user