fix: deprecation warnings on ipaddr

This commit is contained in:
Devin Buhl authored and GitHub committed 2022-11-04 09:46:17 -04:00
1 parent effd4dd950
commit 47a28ae016
1 file changed
+1 -1
@@ -8,7 +8,7 @@ spec:
# https://projectcalico.docs.tigera.io/networking/ip-autodetection
nodeAddressAutodetectionV4:
cidrs:
- "{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ipaddr('network/prefix') }}"
- "{{ (ansible_default_ipv4.network + '/' + ansible_default_ipv4.netmask) | ansible.utils.ipaddr('network/prefix') }}"
# Note: The ipPools section cannot be modified post-install.
ipPools:
- blockSize: 26