summaryrefslogtreecommitdiff
path: root/inventory
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2022-07-27 20:33:18 +0200
committerChristian Pointner <equinox@spreadspace.org>2022-07-27 20:33:18 +0200
commit97cf004cd4320f0ff5698faa5588989be56a29af (patch)
treea9f0fa777fab0b52bef34db1c62a2133835421b0 /inventory
parentele-dione: enable modesetting to have /dev/dri for harware video encode (diff)
add ch-ap2
Diffstat (limited to 'inventory')
-rw-r--r--inventory/group_vars/chaos-at-home-ap/vars.yml1
-rw-r--r--inventory/group_vars/chaos-at-home/network.yml1
-rw-r--r--inventory/host_vars/ch-ap2.yml11
-rw-r--r--inventory/host_vars/ch-sw1.yml11
-rw-r--r--inventory/hosts.ini1
5 files changed, 24 insertions, 1 deletions
diff --git a/inventory/group_vars/chaos-at-home-ap/vars.yml b/inventory/group_vars/chaos-at-home-ap/vars.yml
index b3d9f84a..fce6fc82 100644
--- a/inventory/group_vars/chaos-at-home-ap/vars.yml
+++ b/inventory/group_vars/chaos-at-home-ap/vars.yml
@@ -8,6 +8,7 @@ accesspoint_wifi_channels:
5g:
ch-ap0: 36
ch-ap1: 48
+ ch-ap2: 40
accesspoint_zones:
lan: "{{ network_zones.lan.wifi }}"
diff --git a/inventory/group_vars/chaos-at-home/network.yml b/inventory/group_vars/chaos-at-home/network.yml
index 1fb2ac02..fa4109d5 100644
--- a/inventory/group_vars/chaos-at-home/network.yml
+++ b/inventory/group_vars/chaos-at-home/network.yml
@@ -103,6 +103,7 @@ network_zones:
ch-ups-test: 210
ch-ap0: 220
ch-ap1: 221
+ ch-ap2: 222
ch-mon: 230
ch-installsmb: 240
ch-router: 241
diff --git a/inventory/host_vars/ch-ap2.yml b/inventory/host_vars/ch-ap2.yml
new file mode 100644
index 00000000..0ad28a8d
--- /dev/null
+++ b/inventory/host_vars/ch-ap2.yml
@@ -0,0 +1,11 @@
+---
+accesspoint_wireless_frequency_bands:
+ - 5g
+
+accesspoint_wifi_device_htmode:
+ 5g: "HT20"
+
+accesspoint_wireless_device_paths:
+ 5g: "platform/ahb/18100000.wmac"
+
+openwrt_profile: ubnt_nanostation-loco-m-xw
diff --git a/inventory/host_vars/ch-sw1.yml b/inventory/host_vars/ch-sw1.yml
index 8f2945fc..ad7b6372 100644
--- a/inventory/host_vars/ch-sw1.yml
+++ b/inventory/host_vars/ch-sw1.yml
@@ -24,9 +24,18 @@ switch_interfaces_yaml: |
tagged_only: yes
allowed_vlans_tagged: {{ network_zones | list | difference(['lan']) | map('extract', network_zones) | map(attribute='vlan') | list }}
- - spec: range Gi1/0/7-16
+ - spec: range Gi1/0/7-14
vlan: {{ network_zones.lan.vlan }}
+ - spec: range Gi1/0/15-16
+ description: "ap"
+ switchport_mode: general
+ tagged_only: true
+ allowed_vlans_tagged:
+ - {{ network_zones.mgmt.vlan }}
+ - {{ network_zones.lan.vlan }}
+ - {{ network_zones.iot.vlan }}
+
- spec: range Gi1/0/17-22
vlan: {{ network_zones.iot.vlan }}
diff --git a/inventory/hosts.ini b/inventory/hosts.ini
index 54fc58ca..0536bb98 100644
--- a/inventory/hosts.ini
+++ b/inventory/hosts.ini
@@ -79,6 +79,7 @@ ch-sw1 host_name=sw1 ansible_host=192.168.42.201
[chaos-at-home-ap]
ch-ap0 host_name=ap0
ch-ap1 host_name=ap1
+ch-ap2 host_name=ap2
[chaos-at-home-sensors]
ch-sensors0 host_name=sensors0