summaryrefslogtreecommitdiff
path: root/inventory/host_vars/ch-alix1d.yml
diff options
context:
space:
mode:
Diffstat (limited to 'inventory/host_vars/ch-alix1d.yml')
-rw-r--r--inventory/host_vars/ch-alix1d.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/inventory/host_vars/ch-alix1d.yml b/inventory/host_vars/ch-alix1d.yml
index 9e579648..f4b52487 100644
--- a/inventory/host_vars/ch-alix1d.yml
+++ b/inventory/host_vars/ch-alix1d.yml
@@ -167,8 +167,8 @@ openwrt_uci:
options:
device: eth0
proto: static
- ipaddr: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}"
- netmask: "{{ network_zones.lan.prefix | ipaddr('netmask') }}"
+ ipaddr: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}"
+ netmask: "{{ network_zones.lan.prefix | ansible.utils.ipaddr('netmask') }}"
gateway: "{{ network_zones.lan.gateway }}"
dns: "{{ network_zones.lan.dns }}"
@@ -178,7 +178,7 @@ openwrt_uci:
proto: none
-prometheus_scrape_endpoint: "{{ network_zones.lan.prefix | ipaddr(network_zones.lan.offsets[inventory_hostname]) | ipaddr('address') }}:9100"
+prometheus_scrape_endpoint: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:9100"
prometheus_exporters_default:
- openwrt