1
0
forked from k-space/kube

fmt ansible: compact and more readable

This commit is contained in:
rasmus 2024-07-28 22:28:30 +03:00
parent b4ad080e95
commit b737d37b9c

View File

@ -4,11 +4,11 @@ all:
- lauri - lauri
- eaas - eaas
extra_admins: [] extra_admins: []
children: children:
nasgroup: nasgroup:
hosts: hosts:
nas.k-space.ee: nas.k-space.ee: { ansible_host: 172.23.0.7 }
ansible_host: 172.23.0.7
offsite: offsite:
ansible_host: 78.28.64.17 ansible_host: 78.28.64.17
ansible_port: 10648 ansible_port: 10648
@ -18,74 +18,52 @@ all:
children: children:
nasgroup: nasgroup:
hosts: hosts:
ns1.k-space.ee: ns1.k-space.ee: { ansible_host: 172.20.0.2 }
ansible_host: 172.20.0.2
proxmox: proxmox:
vars: vars:
extra_admins: extra_admins:
- rasmus - rasmus
hosts: hosts:
pve1: pve1: { ansible_host: 172.21.20.1 }
ansible_host: 172.21.20.1 pve2: { ansible_host: 172.21.20.2 }
pve2: pve8: { ansible_host: 172.21.20.8 }
ansible_host: 172.21.20.2 pve9: { ansible_host: 172.21.20.9 }
pve8:
ansible_host: 172.21.20.8
pve9:
ansible_host: 172.21.20.9
kubernetes: kubernetes:
children: children:
masters: masters:
hosts: hosts:
master1.kube.k-space.ee: master1.kube.k-space.ee: { ansible_host: 172.21.3.51 }
ansible_host: 172.21.3.51 master2.kube.k-space.ee: { ansible_host: 172.21.3.52 }
master2.kube.k-space.ee: master3.kube.k-space.ee: { ansible_host: 172.21.3.53 }
ansible_host: 172.21.3.52
master3.kube.k-space.ee:
ansible_host: 172.21.3.53
kubelets: kubelets:
children: children:
mon: mon:
hosts: hosts:
mon1.kube.k-space.ee: mon1.kube.k-space.ee: { ansible_host: 172.21.3.61 }
ansible_host: 172.21.3.61 mon2.kube.k-space.ee: { ansible_host: 172.21.3.62 }
mon2.kube.k-space.ee: mon3.kube.k-space.ee: { ansible_host: 172.21.3.63 }
ansible_host: 172.21.3.62
mon3.kube.k-space.ee:
ansible_host: 172.21.3.63
storage: storage:
hosts: hosts:
storage1.kube.k-space.ee: storage1.kube.k-space.ee: { ansible_host: 172.21.3.71 }
ansible_host: 172.21.3.71 storage2.kube.k-space.ee: { ansible_host: 172.21.3.72 }
storage2.kube.k-space.ee: storage3.kube.k-space.ee: { ansible_host: 172.21.3.73 }
ansible_host: 172.21.3.72 storage4.kube.k-space.ee: { ansible_host: 172.21.3.74 }
storage3.kube.k-space.ee:
ansible_host: 172.21.3.73
storage4.kube.k-space.ee:
ansible_host: 172.21.3.74
workers: workers:
hosts: hosts:
worker1.kube.k-space.ee: worker1.kube.k-space.ee: { ansible_host: 172.20.3.81 }
ansible_host: 172.20.3.81 worker2.kube.k-space.ee: { ansible_host: 172.20.3.82 }
worker2.kube.k-space.ee: worker3.kube.k-space.ee: { ansible_host: 172.20.3.83 }
ansible_host: 172.20.3.82 worker4.kube.k-space.ee: { ansible_host: 172.20.3.84 }
worker3.kube.k-space.ee: worker9.kube.k-space.ee: { ansible_host: 172.20.3.89 } # Raspberry Pi 400
ansible_host: 172.20.3.83
worker4.kube.k-space.ee:
ansible_host: 172.20.3.84
worker9.kube.k-space.ee:
# Raspberry Pi 400
ansible_host: 172.20.3.89
doors: doors:
vars: vars:
extra_admins: extra_admins:
- arti - arti
hosts: hosts:
grounddoor: grounddoor: { ansible_host: 100.102.3.1 }
ansible_host: 100.102.3.1 frontdoor: { ansible_host: 100.102.3.2 }
frontdoor: backdoor: { ansible_host: 100.102.3.3 }
ansible_host: 100.102.3.2 workshopdoor: { ansible_host: 100.102.3.4 }
backdoor:
ansible_host: 100.102.3.3
workshopdoor:
ansible_host: 100.102.3.4