bundlewrap/nodes/ovh.left4me.py
CroneKorkN 1445aaff0a
left4me: wire STEAM_WEB_API_KEY through to web.env
Adds the metadata key default (None — node must override) and pipes it
into web.env.mako so the live-state poller can resolve Steam IDs to
persona names + avatars via GetPlayerSummaries.

ovh.left4me gets the actual key as an encrypted vault secret.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 22:42:51 +02:00

53 lines
1.7 KiB
Python

{
'hostname': '141.95.32.8',
'groups': [
'backup',
'debian-13',
'left4me',
'monitored',
'webserver',
],
'bundles': [
'wireguard',
],
'metadata': {
'id': '14d2abc-3855-4bb7-99e2-d4e3eb0344dd',
'vm': {
'cores': 4, # 4 physical, 8 with HT
'threads': 8,
},
'network': {
'external': {
'interface': 'enp3s0f0',
'ipv4': '141.95.32.8/24',
'gateway4': '141.95.32.254',
'ipv6': '2001:41d0:700:5508::1/128',
'gateway6': '2001:41d0:700:55ff:ff:ff:ff:ff',
'cake': {
'Bandwidth': '450M',
'FlowIsolationMode': 'triple',
'PriorityQueueingPreset': 'besteffort',
'RTTSec': '100ms',
},
},
},
'wireguard': {
'my_ip': '172.30.0.5/32',
's2s': {
'htz.mails': {
'allowed_ips': [
'10.0.0.0/16',
],
},
},
},
'left4me': {
'domain': 'left4.me',
# Both HT siblings of physical core 0 (cpu0+cpu4 per
# /sys/devices/system/cpu/cpu0/topology/thread_siblings_list).
# Keeps system work off the physical cores running game ticks.
'system_cpus': {0, 4},
'steam_web_api_key': 'encrypt$gAAAAABqA2whFHIw95XJcU9l8oWG-Lwe1ZQbYKDXa1iRI3Oopg3LZIgr--yksABXnKwfB2KIKM9y8o0hhIcUri7JEJjQvgh4IoG0J-IRPBEG56kiW5J4DKi8wW0ks-jeV7lZiW_j9o0z',
},
},
}