Files
ansible/inventory.yaml
2025-06-02 18:26:41 +03:00

105 lines
2.6 KiB
YAML

---
all:
vars:
admins:
- lauri
- eaas
children:
# Documentation at
# https://wiki.k-space.ee/en/hosting/storage
nasgroup:
hosts:
nas.k-space.ee:
ansible_host: 172.23.0.7
offsite:
ansible_host: 78.28.64.17 #TODO: eaas: update IP
admins:
- eaas
vars:
offsite_dataset: offsite/backup_zrepl
misc:
children:
nasgroup:
hosts:
ns1.k-space.ee:
ansible_host: 172.20.0.2
worker99.codemowers.cloud:
# Nvidia Tegra Jetson-AGX
ansible_host: 172.20.5.99
# Proxmox aka PVE (Proxmox Virtualization Environment) documented
# https://wiki.k-space.ee/hosting/proxmox
proxmox:
vars:
admins:
- lauri
- eaas
- rasmus
hosts:
pve1:
ansible_host: 172.21.20.1
pve2:
ansible_host: 172.21.20.2
pve8:
ansible_host: 172.21.20.8
pve9:
ansible_host: 172.21.20.9
# Kubernetes cluster setup documented at
# https://git.k-space.ee/k-space/kube
kubernetes:
vars:
admins:
- lauri
- eaas
- rasmus
children:
masters:
hosts:
master1.kube.k-space.ee:
ansible_host: 172.21.3.51
master2.kube.k-space.ee:
ansible_host: 172.21.3.52
master3.kube.k-space.ee:
ansible_host: 172.21.3.53
kubelets:
hosts:
nvr.kube.k-space.ee:
ansible_host: 172.21.3.100
children:
# Workers run bulk of the applications
workers:
hosts:
worker1.kube.k-space.ee:
ansible_host: 172.21.3.81
worker2.kube.k-space.ee:
ansible_host: 172.21.3.82
worker3.kube.k-space.ee:
ansible_host: 172.21.3.83
worker4.kube.k-space.ee:
ansible_host: 172.21.3.84
# This is Raspberry Pi 400 arm64 worker, it died and has been removed from cluster.
# worker9.kube.k-space.ee:
# ansible_host: 172.21.3.89
# For more information regarding door management refer to
# https://wiki.k-space.ee/en/hosting/doors
doors:
vars:
admins:
- arti
- lauri
- eaas
hosts:
grounddoor:
ansible_host: 100.102.3.1
frontdoor:
ansible_host: 100.102.3.2
backdoor:
ansible_host: 100.102.3.3
workshopdoor:
ansible_host: 100.102.3.4