summaryrefslogtreecommitdiff
path: root/inventory/group_vars/chaos-at-home-ap
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-09-15 01:56:10 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-09-15 02:01:34 +0200
commitb4e72043367ba7f951e7dd4a35db1d1362f73b56 (patch)
tree180c4ffd284572301dcc27ce5902261632662c00 /inventory/group_vars/chaos-at-home-ap
parentaccesspoints/80211r: simplify setup since hostapd supports locally generated ... (diff)
chaos-at-home-ap: enable ntp
Diffstat (limited to 'inventory/group_vars/chaos-at-home-ap')
-rw-r--r--inventory/group_vars/chaos-at-home-ap/vars.yml4
1 files changed, 4 insertions, 0 deletions
diff --git a/inventory/group_vars/chaos-at-home-ap/vars.yml b/inventory/group_vars/chaos-at-home-ap/vars.yml
index 1d613617..ad02ff07 100644
--- a/inventory/group_vars/chaos-at-home-ap/vars.yml
+++ b/inventory/group_vars/chaos-at-home-ap/vars.yml
@@ -21,6 +21,10 @@ accesspoint_zones:
iot: "{{ network_zones.iot.wifi }}"
+accesspoint_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:
- openwrt