summaryrefslogtreecommitdiff
path: root/inventory/group_vars/chaos-at-home-ups/vars.yml
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-02-21 21:57:08 +0100
committerChristian Pointner <equinox@spreadspace.org>2023-02-21 21:57:08 +0100
commite822439d0a553d036b991514e18060c7e36b7315 (patch)
treef55e36fcddecfc929a83a3da020f647585153857 /inventory/group_vars/chaos-at-home-ups/vars.yml
parentelevate-mediachannel: install ele-emc-r0 (diff)
ele-ups: upgrade to newest openwrt
Diffstat (limited to 'inventory/group_vars/chaos-at-home-ups/vars.yml')
-rw-r--r--inventory/group_vars/chaos-at-home-ups/vars.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/inventory/group_vars/chaos-at-home-ups/vars.yml b/inventory/group_vars/chaos-at-home-ups/vars.yml
index 2a67bb76..31be4572 100644
--- a/inventory/group_vars/chaos-at-home-ups/vars.yml
+++ b/inventory/group_vars/chaos-at-home-ups/vars.yml
@@ -6,6 +6,9 @@ ups_query_sources:
- "{{ network_mgmt_zone.prefix | ansible.utils.ipaddr(network_mgmt_zone.offsets['ch-mon']) | ansible.utils.ipaddr('address') }}"
- "{{ network_mgmt_zone.prefix | ansible.utils.ipaddr(network_mgmt_zone.offsets['ch-equinox-ws']) | ansible.utils.ipaddr('address') }}"
+ups_ntp_servers:
+ - '{{ network_zones.mgmt.prefix | ansible.utils.ipaddr(network_zones.mgmt.offsets["ch-router"]) | ansible.utils.ipaddr("address") }}'
+
prometheus_scrape_endpoint: "{{ network_mgmt_zone.prefix | ansible.utils.ipaddr(network_mgmt_zone.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:9100"
prometheus_exporters_default: