From ed38f3393d15fd6028e1fad76438af0dbcb6c1d3 Mon Sep 17 00:00:00 2001 From: Dmitriy Rabotyagov Date: Thu, 10 Mar 2022 17:10:15 +0100 Subject: [PATCH] Change location of ipaddr filter ipaddr filter has been moved from netcommon to utils collection [1] Based on that we must add that collection to requirements. [1] https://github.com/ansible-collections/ansible.netcommon/commit/db4920ebf6bae6476ff8829e2cf475f19f83a990 Depends-On: https://review.opendev.org/c/openstack/openstack-ansible/+/831525 Depends-On: https://review.opendev.org/c/openstack/ansible-role-systemd_networkd/+/831603 Depends-On: https://review.opendev.org/c/openstack/openstack-ansible-lxc_container_create/+/833118 Change-Id: I5412e9b4e85373c920b127a96dc9d505ca9fe337 --- templates/lxc-networkd-bridge.network.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/lxc-networkd-bridge.network.j2 b/templates/lxc-networkd-bridge.network.j2 index cb6bbc6e..7d586b4c 100644 --- a/templates/lxc-networkd-bridge.network.j2 +++ b/templates/lxc-networkd-bridge.network.j2 @@ -3,7 +3,7 @@ Name={{ lxc_net_bridge }} [Network] -Address={{ (lxc_net_address ~ '/' ~ lxc_net_netmask) | ipaddr('cidr') }} +Address={{ (lxc_net_address ~ '/' ~ lxc_net_netmask) | ansible.utils.ipaddr('cidr') }} {% if lxc_net_gateway is not none %} Gateway={{ lxc_net_gateway }} {% endif %}