use local address if no wg address is set
This commit is contained in:
@@ -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