new syntax
This commit is contained in:
@@ -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