124 lines
4.1 KiB
YAML
124 lines
4.1 KiB
YAML
---
|
|
# Every machine of the homelab. Host names are the Proxmox guest names.
|
|
# Groups by kind:
|
|
# hypervisors the bare-metal Proxmox host
|
|
# lxc Proxmox containers: share the host kernel, no guest agent,
|
|
# no kernel modules, never need a reboot for a kernel update
|
|
# vm Proxmox VMs (QEMU): own kernel, qemu-guest-agent
|
|
# external machines outside the Proxmox host (ViaRézo cloud VM)
|
|
# Groups by role: k3s (k3s_masters, k3s_workers), all of them VMs.
|
|
# proxmox_vmid matches `pct list` / `qm list`. IPs: 1NN -> 10.0.0.(NN+10),
|
|
# except k3s (VMID = last octet) and 110 (.250).
|
|
all:
|
|
children:
|
|
hypervisors:
|
|
hosts:
|
|
proxmox:
|
|
ansible_host: 10.0.0.1
|
|
description: Proxmox VE hypervisor
|
|
|
|
lxc:
|
|
hosts:
|
|
caddy:
|
|
ansible_host: 10.0.0.10
|
|
description: Caddy reverse proxy, every vhost (DNS-01)
|
|
proxmox_vmid: 100
|
|
crowdsec:
|
|
ansible_host: 10.0.0.11
|
|
description: CrowdSec LAPI
|
|
proxmox_vmid: 101
|
|
cloud:
|
|
ansible_host: 10.0.0.12
|
|
description: Nextcloud AIO (Docker)
|
|
proxmox_vmid: 102
|
|
vault:
|
|
ansible_host: 10.0.0.13
|
|
description: Vaultwarden (Docker)
|
|
proxmox_vmid: 103
|
|
forgejo:
|
|
ansible_host: 10.0.0.14
|
|
description: Forgejo git, SSH on 2222
|
|
proxmox_vmid: 104
|
|
restic:
|
|
ansible_host: 10.0.0.15
|
|
description: restic rest-server, backup target
|
|
proxmox_vmid: 105
|
|
etherpad:
|
|
ansible_host: 10.0.0.16
|
|
description: Etherpad + Postgres
|
|
proxmox_vmid: 106
|
|
jellyfin:
|
|
ansible_host: 10.0.0.18
|
|
description: Jellyfin, media on /hdd-mirror/media
|
|
proxmox_vmid: 108
|
|
uptime-kuma:
|
|
ansible_host: 10.0.0.19
|
|
description: Uptime Kuma (Docker), status.un-oeil.fr
|
|
proxmox_vmid: 109
|
|
wireguard: # no SSH login, reached through `pct exec` (host_vars/wireguard.yml)
|
|
ansible_host: 10.0.0.1
|
|
description: WireGuard hub, tunnel 10.10.10.0/24
|
|
proxmox_vmid: 110
|
|
chess:
|
|
ansible_host: 10.0.0.21
|
|
description: Chess, chess.un-oeil.fr
|
|
proxmox_vmid: 111
|
|
monitoring:
|
|
ansible_host: 10.0.0.22
|
|
description: Prometheus + Grafana (grafana.un-oeil.fr)
|
|
proxmox_vmid: 112
|
|
media:
|
|
ansible_host: 10.0.0.23
|
|
description: Sonarr, Radarr, Prowlarr, Bazarr, qBittorrent via Gluetun (Docker), media on /hdd-mirror/media
|
|
proxmox_vmid: 113
|
|
fractale:
|
|
ansible_host: 10.0.0.24
|
|
description: MandelRust Mandelbrot server, fractale.un-oeil.fr
|
|
proxmox_vmid: 114
|
|
|
|
vm:
|
|
hosts:
|
|
pterodactyl-panel:
|
|
ansible_host: 10.0.0.17
|
|
description: Pterodactyl Panel + local Wings
|
|
proxmox_vmid: 107
|
|
children:
|
|
k3s:
|
|
|
|
k3s:
|
|
children:
|
|
k3s_masters:
|
|
hosts:
|
|
k3s-master-1:
|
|
ansible_host: 10.0.0.131
|
|
description: k3s server (cluster-init, etcd)
|
|
proxmox_vmid: 131
|
|
k3s_cluster_init: true # bootstraps etcd, the others join it
|
|
k3s-master-2:
|
|
ansible_host: 10.0.0.132
|
|
description: k3s server (etcd)
|
|
proxmox_vmid: 132
|
|
k3s-master-3:
|
|
ansible_host: 10.0.0.133
|
|
description: k3s server (etcd)
|
|
proxmox_vmid: 133
|
|
k3s_workers:
|
|
hosts:
|
|
k3s-worker-1:
|
|
ansible_host: 10.0.0.141
|
|
description: k3s agent + Longhorn
|
|
proxmox_vmid: 141
|
|
k3s-worker-2:
|
|
ansible_host: 10.0.0.142
|
|
description: k3s agent + Longhorn
|
|
proxmox_vmid: 142
|
|
k3s-worker-3:
|
|
ansible_host: 10.0.0.143
|
|
description: k3s agent + Longhorn
|
|
proxmox_vmid: 143
|
|
|
|
external:
|
|
hosts:
|
|
viarezo:
|
|
ansible_host: 10.10.10.3 # through the WireGuard tunnel
|
|
description: "ViaRézo cloud VM: Wings (viarezo node), Overleaf, mailcow, Authentik"
|