ultrabirb-cluster/ansible/inventory.yaml

75 lines
1.6 KiB
YAML
Raw Normal View History

2021-11-08 03:32:56 +01:00
# ip addresses could be acquired from the vms after they're created
cloud-1:
vars:
2021-11-11 01:43:28 +01:00
magic_router_ip: 192.168.110.10
2021-11-08 03:32:56 +01:00
magic_routes:
2021-11-11 01:43:28 +01:00
- 192.168.111.0/24
- 192.168.112.0/24
- 192.168.113.0/24
2021-11-08 03:32:56 +01:00
ansible_become: true
ansible_user: ubuntu
hosts:
cloud-cluster-1-master-1:
2021-11-11 01:43:28 +01:00
ansible_host: 192.168.110.100
2021-11-08 03:32:56 +01:00
cloud-cluster-1-worker-1:
2021-11-11 01:43:28 +01:00
ansible_host: 192.168.110.101
2021-11-08 03:32:56 +01:00
cloud-cluster-1-worker-2:
2021-11-11 01:43:28 +01:00
ansible_host: 192.168.110.102
2021-11-08 03:32:56 +01:00
edge-1:
vars:
2021-11-11 01:43:28 +01:00
magic_router_ip: 192.168.111.10
2021-11-08 03:32:56 +01:00
magic_routes:
2021-11-11 01:43:28 +01:00
- 192.168.110.0/24
- 192.168.112.0/24
- 192.168.113.0/24
2021-11-08 03:32:56 +01:00
ansible_become: true
ansible_user: ubuntu
hosts:
edge-cluster-1-master-1:
2021-11-11 01:43:28 +01:00
ansible_host: 192.168.111.100
2021-11-08 03:32:56 +01:00
edge-cluster-1-worker-1:
2021-11-11 01:43:28 +01:00
ansible_host: 192.168.111.101
2021-11-08 03:32:56 +01:00
edge-cluster-1-worker-2:
2021-11-11 01:43:28 +01:00
ansible_host: 192.168.111.102
2021-11-08 03:32:56 +01:00
edge-2:
become: true
user: ubuntu
vars:
2021-11-11 01:43:28 +01:00
magic_router_ip: 192.168.112.10
2021-11-08 03:32:56 +01:00
magic_routes:
2021-11-11 01:43:28 +01:00
- 192.168.110.0/24
- 192.168.111.0/24
- 192.168.113.0/24
2021-11-08 03:32:56 +01:00
ansible_become: true
ansible_user: ubuntu
hosts:
edge-cluster-2-master-1:
2021-11-11 01:43:28 +01:00
ansible_host: 192.168.112.100
2021-11-08 03:32:56 +01:00
edge-cluster-2-worker-1:
2021-11-11 01:43:28 +01:00
ansible_host: 192.168.112.101
2021-11-08 03:32:56 +01:00
edge-cluster-2-worker-2:
2021-11-11 01:43:28 +01:00
ansible_host: 192.168.112.102
2021-11-08 03:32:56 +01:00
site-1:
vars:
2021-11-11 01:43:28 +01:00
magic_router_ip: 192.168.113.10
2021-11-08 03:32:56 +01:00
magic_routes:
2021-11-11 01:43:28 +01:00
- 192.168.110.0/24
- 192.168.111.0/24
- 192.168.112.0/24
2021-11-08 03:32:56 +01:00
ansible_become: true
ansible_user: ubuntu
hosts:
site-emulator-1:
2021-11-11 01:43:28 +01:00
ansible_host: 192.168.113.100
2021-11-08 03:32:56 +01:00
all:
children:
cloud-1:
edge-1:
edge-2:
site-1: