Files
learn-devops/ansible/inventory.yml
github-actions[bot] 52a3d0eb3b Add L2 Load Balancer (#16)
Co-authored-by: Fedor Batonogov <f.batonogov@yandex.ru>
2024-07-27 11:35:15 +03:00

66 lines
1.4 KiB
YAML

kubeadm:
children:
kubeadm_control_plane:
hosts:
kubeadm-cp-01:
ansible_host: 10.0.75.81
kubeadm-cp-02:
ansible_host: 10.0.75.82
kubeadm-cp-03:
ansible_host: 10.0.75.83
kubeadm_nodes:
hosts:
kubeadm-node-01:
ansible_host: 10.0.75.84
kubeadm-node-02:
ansible_host: 10.0.75.85
kubeadm-node-03:
ansible_host: 10.0.75.86
vars:
ansible_user: infra
ansible_port: 22
patroni_postgresql_cluster:
children:
patroni_postgresql_hosts:
hosts:
patroni-postgresql-01:
ansible_host: 10.0.75.111
patroni-postgresql-02:
ansible_host: 10.0.75.112
patroni-postgresql-03:
ansible_host: 10.0.75.113
haproxy_hosts:
hosts:
haproxy-01:
ansible_host: 10.0.75.114
haproxy-02:
ansible_host: 10.0.75.115
vars:
ansible_user: infra
ansible_port: 22
minio_hosts:
hosts:
minio1:
ansible_host: 10.0.75.55
minio2:
ansible_host: 10.0.75.56
minio3:
ansible_host: 10.0.75.57
minio4:
ansible_host: 10.0.75.58
vars:
ansible_user: infra
ansible_port: 22
nginx_hosts:
hosts:
nginx-01:
ansible_host: 10.0.75.91
nginx-02:
ansible_host: 10.0.75.92
vars:
ansible_user: infra
ansible_port: 22