kube/ansible/inventory.yml

70 lines
2.2 KiB
YAML
Raw Normal View History

2023-08-10 16:35:17 +00:00
all:
vars:
admins:
- lauri
- eaas
extra_admins: []
2024-07-28 19:28:30 +00:00
2023-08-10 16:35:17 +00:00
children:
2024-07-27 20:49:45 +00:00
nasgroup:
hosts:
2024-07-28 19:28:30 +00:00
nas.k-space.ee: { ansible_host: 172.23.0.7 }
2024-07-27 20:49:45 +00:00
offsite:
ansible_host: 78.28.64.17
ansible_port: 10648
vars:
offsite_dataset: offsite/backup_zrepl
misc:
2024-07-27 20:49:45 +00:00
children:
nasgroup:
2023-08-19 18:31:30 +00:00
hosts:
2024-07-28 19:28:30 +00:00
ns1.k-space.ee: { ansible_host: 172.20.0.2 }
proxmox:
vars:
extra_admins:
- rasmus
hosts:
2024-07-28 19:28:30 +00:00
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:
children:
masters:
hosts:
2024-07-28 19:28:30 +00:00
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:
children:
mon:
hosts:
2024-07-28 19:28:30 +00:00
mon1.kube.k-space.ee: { ansible_host: 172.21.3.61 }
mon2.kube.k-space.ee: { ansible_host: 172.21.3.62 }
mon3.kube.k-space.ee: { ansible_host: 172.21.3.63 }
storage:
hosts:
2024-07-28 19:28:30 +00:00
storage1.kube.k-space.ee: { ansible_host: 172.21.3.71 }
storage2.kube.k-space.ee: { ansible_host: 172.21.3.72 }
storage3.kube.k-space.ee: { ansible_host: 172.21.3.73 }
storage4.kube.k-space.ee: { ansible_host: 172.21.3.74 }
workers:
hosts:
2024-07-28 19:28:30 +00:00
worker1.kube.k-space.ee: { ansible_host: 172.20.3.81 }
worker2.kube.k-space.ee: { ansible_host: 172.20.3.82 }
worker3.kube.k-space.ee: { ansible_host: 172.20.3.83 }
worker4.kube.k-space.ee: { ansible_host: 172.20.3.84 }
worker9.kube.k-space.ee: { ansible_host: 172.20.3.89 } # Raspberry Pi 400
2023-08-10 16:35:17 +00:00
doors:
vars:
extra_admins:
- arti
2023-08-10 16:35:17 +00:00
hosts:
2024-07-28 19:28:30 +00:00
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 }