From ccdb42c40ce909c1026835b757984cf4cff7a940 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 6 Sep 2022 02:24:00 +0200 Subject: replace remaining ipaddr() filter calls --- inventory/host_vars/ele-emc-ctrl.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'inventory/host_vars/ele-emc-ctrl.yml') diff --git a/inventory/host_vars/ele-emc-ctrl.yml b/inventory/host_vars/ele-emc-ctrl.yml index f926c7d2..6b76c39d 100644 --- a/inventory/host_vars/ele-emc-ctrl.yml +++ b/inventory/host_vars/ele-emc-ctrl.yml @@ -26,10 +26,10 @@ network: interfaces: "{{ install.interfaces }}" primary: &_network_primary_ name: primary0 - address: "{{ vm_host.network.bridges.public.prefix | ipaddr(vm_host.network.bridges.public.offsets[inventory_hostname]) | ipaddr('address/prefix') }}" - gateway: "{{ vm_host.network.bridges.public.prefix | ipaddr(vm_host.network.bridges.public.offsets[vm_host.name]) | ipaddr('address') }}" + address: "{{ vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets[inventory_hostname]) }}" + gateway: "{{ vm_host.network.bridges.public.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.offsets[vm_host.name]) | ansible.utils.ipaddr('address') }}" template: overlay - overlay: "{{ (vm_host.network.bridges.public.overlays.default.prefix | ipaddr(vm_host.network.bridges.public.overlays.default.offsets[inventory_hostname])).split('/')[0] }}" + overlay: "{{ (vm_host.network.bridges.public.overlays.default.prefix | ansible.utils.ipaddr(vm_host.network.bridges.public.overlays.default.offsets[inventory_hostname])).split('/')[0] }}" interfaces: - *_network_primary_ -- cgit v1.2.3