From cacb62267e536d125afa6954d41202cf0e7f1310 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Tue, 6 Sep 2022 01:51:50 +0200 Subject: replace some more ipaddr() filter calls (cont'd) --- inventory/group_vars/chaos-at-home-sensors/vars.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'inventory/group_vars/chaos-at-home-sensors') diff --git a/inventory/group_vars/chaos-at-home-sensors/vars.yml b/inventory/group_vars/chaos-at-home-sensors/vars.yml index 91bed8ce..d6783736 100644 --- a/inventory/group_vars/chaos-at-home-sensors/vars.yml +++ b/inventory/group_vars/chaos-at-home-sensors/vars.yml @@ -83,7 +83,7 @@ openwrt_uci: enabled: '1' enable_server: '0' server: - - '{{ network_zones.iot.prefix | ipaddr(network_zones.iot.offsets["ch-iot"]) | ipaddr("address") }}' + - '{{ network_zones.iot.prefix | ansible.utils.ipaddr(network_zones.iot.offsets["ch-iot"]) | ansible.utils.ipaddr("address") }}' dropbear: - name: dropbear @@ -115,8 +115,8 @@ openwrt_uci: options: device: "{{ sensornode_network_wired | ternary('eth0', 'wlan0') }}" proto: static - ipaddr: "{{ network_zones.iot.prefix | ipaddr(network_zones.iot.offsets[inventory_hostname]) | ipaddr('address') }}" - netmask: "{{ network_zones.iot.prefix | ipaddr('netmask') }}" + ipaddr: "{{ network_zones.iot.prefix | ansible.utils.ipaddr(network_zones.iot.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}" + netmask: "{{ network_zones.iot.prefix | ansible.utils.ipaddr('netmask') }}" - name: interface 'unused' options: @@ -143,6 +143,6 @@ openwrt_uci: key: '{{ network_zones.iot.wifi.key }}' -prometheus_scrape_endpoint: "{{ network_zones.iot.prefix | ipaddr(network_zones.iot.offsets[inventory_hostname]) | ipaddr('address') }}:9100" +prometheus_scrape_endpoint: "{{ network_zones.iot.prefix | ansible.utils.ipaddr(network_zones.iot.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:9100" prometheus_exporters_default: - openwrt -- cgit v1.2.3