Switch to ansible.utils.ipv6 filter to avoid deprecation warning.

This commit is contained in:
Nils
2022-10-21 19:52:25 +02:00
parent a789bf7c9a
commit 6a8adff8e1

View File

@@ -1,6 +1,6 @@
proxy {{ ansible_default_ipv6.interface }}{
{% for peer in wireguard_peers %}
{% for ip6_addr in peer.allowedips | ipv6 %}
{% for ip6_addr in peer.allowedips | ansible.utils.ipv6 %}
rule {{ ip6_addr }} {
static
}