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
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
|
---
system_lvm_volume_size_root: 5G
install:
efi: yes
disks:
primary: /dev/disk/by-id/ata-OCZ-VERTEX2_OCZ-5328NA52AN84G246
network:
nameservers: "{{ network_zones.lan.dns }}"
domain: "{{ host_domain }}"
primary: &_network_primary_
name: eno1
address: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) }}"
gateway: "{{ network_zones.lan.gateway }}"
interfaces:
- *_network_primary_
- name: "enp3s0.{{ network_zones.mgmt.vlan }}"
address: "{{ network_zones.mgmt.prefix | ansible.utils.ipaddr(network_zones.mgmt.offsets[inventory_hostname]) }}"
vlans:
enp3s0:
- "{{ network_zones.mgmt.vlan }}"
apt_repo_components:
- main
- contrib
- non-free ## for microcode updates
spreadspace_apt_repo_components:
- main
- container
- streaming
- prometheus
admin_users_host:
- equinox
ntp_variant: chrony
ntp_client:
servers:
- name: "{{ network_zones.lan.gateway }}"
options: iburst
blackmagic_desktopvideo_version: 12.2.2a6
blackmagic_desktopvideo_include_gui: yes
docker_pkg_provider: docker-com
docker_storage:
type: lvm
vg: "{{ host_name }}"
lv: docker
size: 10G
fs: ext4
kubelet_storage:
type: lvm
vg: "{{ host_name }}"
lv: kubelet
size: 5G
fs: ext4
kubernetes_version: 1.25.0
kubernetes_cri_tools_pkg_version: 1.24.2-00
kubernetes_container_runtime: docker
kubernetes_standalone_max_pods: 42
kubernetes_standalone_cni_variant: with-portmap
player_inst_name: emc-feed
player_ffmpeg_image_version: bullseye-decklink11.7-2022-06-12.26
#player_input: [ '-f', 'live_flv', '-rtmp_live', 'live', '-i', "rtmp://{{ network_zones.cc_leslie.prefix | ansible.utils.ipaddr(network_zones.cc_leslie.offsets['ele-thetys']) | ansible.utils.ipaddr('address') }}/emc-feed/full" ]
player_input: [ '-stream_loop', '-1', '-i', '/srv/videos/Big Buck Bunny 1080p 60fps.mp4' ]
player_output: [ '-ac', '2', '-pix_fmt', 'uyvy422', '-s', '1920x1080' ,'-r', '50','-f', 'decklink', 'DeckLink Mini Monitor 4K' ]
player_volume_mounts:
videos:
src: /srv/videos
dest: /srv/videos
prometheus_server_storage:
type: lvm
vg: "{{ host_name }}"
lv: prometheus
size: 20G
fs: ext4
prometheus_server_alertmanager:
url: "127.0.0.1:9093"
path_prefix: "/alertmanager/"
prometheus_server_web_external_url: "http://{{ network.primary.address | ansible.utils.ipaddr('address') }}/prometheus/"
prometheus_exporters_extra:
- blackbox
- nut
prometheus_exporter_node_textfile_collector_scripts:
- deleted-libraries
- chrony
prometheus_exporter_blackbox_modules_extra:
icmp:
prober: icmp
prometheus_job_multitarget_blackbox__probe:
ele-calypso:
- instance: "ssh-{{ inventory_hostname }}"
target: "{{ network_zones.lan.prefix | ansible.utils.ipaddr(network_zones.lan.offsets[inventory_hostname]) | ansible.utils.ipaddr('address') }}:{{ ansible_port | default(22) }}"
module: ssh_banner
prometheus_alertmanager_web_external_url: "http://{{ network.primary.address | ansible.utils.ipaddr('address') }}/alertmanager/"
prometheus_alertmanager_smtp:
smarthost: "mailrelay.chaos-at-home.org:587"
from: "noreply@elev8.at"
require_tls: yes
auth:
username: ele-mon
password: "{{ vault_prometheus_alertmanager_smtp_auth_password }}"
prometheus_alertmanager_route:
receiver: empty
routes:
- receiver: equinox-mail
matchers:
- 'alertname != PrometheusAlertmanagerE2eDeadManSwitch'
group_by:
- instance
continue: true
- receiver: equinox-sms
matchers:
- 'alertname != PrometheusAlertmanagerE2eDeadManSwitch'
- severity="critical"
prometheus_alertmanager_receivers:
- name: empty
- name: equinox-mail
email_configs:
- to: equinox@spreadspace.org
send_resolved: yes
- name: equinox-sms
webhook_configs:
- url: "http://127.0.0.1:9876/alert"
grafana_secret_key: "{{ vault_grafana_secret_key }}"
grafana_datasources:
- name: "Prometheus"
type: "prometheus"
access: "proxy"
url: "http://127.0.0.1:9090/prometheus"
isDefault: yes
jsonData:
manageAlerts: no
grafana_dashboards:
- file: node-full
datasource: "Prometheus"
- file: chronyd
datasource: "Prometheus"
- file: blackbox
datasource: "Prometheus"
- file: network-ups-tools
datasource: "Prometheus"
- file: ipmi
datasource: "Prometheus"
monitoring_landingpage_hostnames:
- "_"
monitoring_landingpage_title: "Elevate Festival Monitoring Host"
sachet_providers:
smstools:
outgoing_dir: /var/spool/sms/outgoing
sachet_receivers:
- name: 'equinox-sms'
provider: 'smstools'
to:
- '+436644800222'
sachet_usbmodeswitch:
"12d1:1f01": |
TargetVendor=0x12d1
TargetProductList="14db,14dc"
MessageContent="55534243000000000000000000000011060000000000000000000000000000"
sachet_smstools_devices:
GSM1:
pre_init: 'yes'
device: '/dev/ttyUSB0'
incoming: 'yes'
pin: '{{ vault_sms_modem_pin }}'
baudrate: 115200
check_memory_method: 2
|