summaryrefslogtreecommitdiff
path: root/inventory/group_vars/chaos-at-home-sensors/vars.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/group_vars/chaos-at-home-sensors/vars.yml')
-rw-r--r--inventory/group_vars/chaos-at-home-sensors/vars.yml8
1 files changed, 4 insertions, 4 deletions
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