new syntax

This commit is contained in:
rene committed 2024-07-22 15:17:21 +02:00
1 parent 82e1ce04da
commit 54e77e73cf
2 files changed
+2 -2

No files matched your search

@@ -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 %}