From 081c0f926cba1636a6655d51b60809fb2610bc89 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 6 Sep 2022 02:07:23 +0200 Subject: replace some more ipaddr() filter calls (cont'd) --- inventory/host_vars/glt-gw-r3.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'inventory/host_vars/glt-gw-r3.yml') diff --git a/inventory/host_vars/glt-gw-r3.yml b/inventory/host_vars/glt-gw-r3.yml index b15edfec..d5d8538e 100644 --- a/inventory/host_vars/glt-gw-r3.yml +++ b/inventory/host_vars/glt-gw-r3.yml @@ -129,8 +129,8 @@ openwrt_uci: options: device: eth0 proto: static - ipaddr: "{{ network_zones.r3_ff.prefix | ipaddr(network_zones.r3_ff.offsets[inventory_hostname]) | ipaddr('address') }}" - netmask: "{{ network_zones.r3_ff.prefix | ipaddr('netmask') }}" + ipaddr: "{{ network_zones.r3_ff.prefix | ansible.utils.ipaddr(network_zones.r3_ff.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}" + netmask: "{{ network_zones.r3_ff.prefix | ansible.utils.ipaddr('netmask') }}" gateway: "{{ network_zones.r3_ff.gateway }}" dns: "{{ network_zones.r3_ff.dns }}" @@ -138,8 +138,8 @@ openwrt_uci: options: device: eth1 proto: static - ipaddr: "{{ network_zones.r3_lan.prefix | ipaddr(network_zones.r3_lan.offsets[inventory_hostname]) | ipaddr('address') }}" - netmask: "{{ network_zones.r3_lan.prefix | ipaddr('netmask') }}" + ipaddr: "{{ network_zones.r3_lan.prefix | ansible.utils.ipaddr(network_zones.r3_lan.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}" + netmask: "{{ network_zones.r3_lan.prefix | ansible.utils.ipaddr('netmask') }}" - name: interface 'unused' options: -- cgit v1.2.3