summaryrefslogtreecommitdiff
path: root/inventory/group_vars/chaos-at-home-ap/vars.yml
blob: 535dedef030bc3304799929b9475f4383c5fb789 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
---
network_mgmt_zone: "{{ network_zones.mgmt }}"

accesspoint_zones:
  lan: "{{ network_zones.lan.wifi }}"
  iot: "{{ network_zones.iot.wifi }}"


accesspoint_wifi_channels:
  2g:
    ch-ap0: 1
    ch-ap1: 9
  5g:
    ch-ap0: 36
    ch-ap1: 48
    ch-ap2: 40

accesspoint_80211r:
  mobility_domain_base: 0xca00

accesspoint_client_steering:
  kind: usteer
  options:
    assoc_steering: '1'
    band_steering_threshold: '0'
    band_steering_interval: '30000'
    ssid_list: "{{ accesspoint_zones | dict2items | map(attribute='value.ssid') }}"


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