blob: fa4109d5e8e9f1bf57a15f95a2b5450d1639042e (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
|
---
network_zones:
lan:
vlan: 28
prefix: 192.168.28.0/24
gateway: 192.168.28.254
dns:
# - 192.168.28.254
# - 9.9.9.9
- 1.1.1.1
dhcp:
start: 100
limit: 199
offsets:
ch-equinox-ws: 1
ch-mc: 10
ch-mc-pi: 11
ch-telesto: 20
ch-calypso: 21
ch-thetys: 22
ch-dione: 23
ch-helene: 24
ch-hpws-maxi: 30
ch-hpws-mini1: 31
ch-alix1d: 32
ch-raspi-ntp: 33
ele-media: 99
ch-prometheus: 200
ch-epimetheus: 201
ch-phoebe: 202
ch-gw-lan: 254
#############
## legacy stuff
ch-prometheus-legacy: 250
wifi:
ssid: "chaos at home"
#encryption: "sae-mixed"
encryption: "psk2"
key: "{{ vault_wifi_keys.lan }}"
iot:
vlan: 30
prefix: 192.168.30.0/24
wifi:
ssid: "stuff at home"
#encryption: "sae-mixed"
encryption: "psk2"
key: "{{ vault_wifi_keys.iot }}"
offsets:
ch-wled-test: 1
ch-sensors0: 10
ch-sensors1: 11
ch-sensors2: 12
ch-testvm-phoebe: 43
ch-mon: 230
ch-iot: 254
svc:
vlan: 32
prefix: 192.168.32.0/24
gateway: 192.168.32.254
dns:
# - 192.168.32.254
# - 9.9.9.9
- 1.1.1.1
offsets:
ch-apps: 1
ch-http-proxy: 8
ch-imap-proxy: 9
ch-vpn: 10
ch-k8s-ctrl: 20
ch-jump: 22
ch-gw-lan: 28
ch-iot: 30
ch-testvm-prometheus: 42
ch-testvm-phoebe: 43
ch-testvm-openwrt: 44
ch-nic: 53
__svc_http__: 80
__svc_imap__: 143
ch-mon: 230
ch-omd: 231
ch-router-obsd: 253
ch-router: 254
#############
## legacy stuff
ch-auth-legacy: 88
mgmt:
vlan: 42
prefix: 192.168.42.0/24
offsets:
ch-prometheus: 20 # IPMI
ch-phoebe: 21 # IPMI
ch-jump: 22
ch-equinox-ws: 42
ch-dione: 100 # IPMI
ch-helene: 101 # IPMI
ch-telesto: 102 # IPMI
ch-sw0: 200
ch-sw1: 201
ch-ups-test: 210
ch-ap0: 220
ch-ap1: 221
ch-ap2: 222
ch-mon: 230
ch-installsmb: 240
ch-router: 241
ch-equinox-t450s: 250
magenta:
vlan: 329
prefix: 62.99.185.128/30
gateway: 62.99.185.129
dns:
- 195.58.160.194
- 195.58.161.122
offsets:
ch-router: 2
network_services:
ssh-jump:
ports:
- 2342
addr: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets['ch-jump']) | ipaddr('address') }}"
http:
ports:
- 80
- 443
addr: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets.__svc_http__) | ipaddr('address') }}"
imap:
ports:
#- 143
- 993
addr: "{{ network_zones.svc.prefix | ipaddr(network_zones.svc.offsets.__svc_imap__) | ipaddr('address') }}"
|