2021-11-08 03:32:56 +01:00
|
|
|
# ip addresses could be acquired from the vms after they're created
|
|
|
|
cloud-1:
|
|
|
|
vars:
|
|
|
|
magic_router_ip: 192.168.100.10
|
|
|
|
magic_routes:
|
|
|
|
- 192.168.101.0/24
|
|
|
|
- 192.168.102.0/24
|
|
|
|
- 192.168.103.0/24
|
|
|
|
ansible_become: true
|
|
|
|
ansible_user: ubuntu
|
|
|
|
hosts:
|
|
|
|
cloud-cluster-1-master-1:
|
|
|
|
ansible_host: 192.168.100.131
|
|
|
|
cloud-cluster-1-worker-1:
|
2021-11-08 03:39:02 +01:00
|
|
|
ansible_host: 192.168.100.239
|
2021-11-08 03:32:56 +01:00
|
|
|
cloud-cluster-1-worker-2:
|
2021-11-08 03:39:02 +01:00
|
|
|
ansible_host: 192.168.100.247
|
2021-11-08 03:32:56 +01:00
|
|
|
|
|
|
|
|
|
|
|
edge-1:
|
|
|
|
vars:
|
|
|
|
magic_router_ip: 192.168.101.10
|
|
|
|
magic_routes:
|
|
|
|
- 192.168.100.0/24
|
|
|
|
- 192.168.102.0/24
|
|
|
|
- 192.168.103.0/24
|
|
|
|
ansible_become: true
|
|
|
|
ansible_user: ubuntu
|
|
|
|
hosts:
|
|
|
|
edge-cluster-1-master-1:
|
2021-11-08 03:39:02 +01:00
|
|
|
ansible_host: 192.168.101.254
|
2021-11-08 03:32:56 +01:00
|
|
|
edge-cluster-1-worker-1:
|
2021-11-08 03:39:02 +01:00
|
|
|
ansible_host: 192.168.101.197
|
2021-11-08 03:32:56 +01:00
|
|
|
edge-cluster-1-worker-2:
|
2021-11-08 03:39:02 +01:00
|
|
|
ansible_host: 192.168.101.234
|
2021-11-08 03:32:56 +01:00
|
|
|
|
|
|
|
edge-2:
|
|
|
|
become: true
|
|
|
|
user: ubuntu
|
|
|
|
vars:
|
|
|
|
magic_router_ip: 192.168.102.10
|
|
|
|
magic_routes:
|
|
|
|
- 192.168.100.0/24
|
|
|
|
- 192.168.101.0/24
|
|
|
|
- 192.168.103.0/24
|
|
|
|
ansible_become: true
|
|
|
|
ansible_user: ubuntu
|
|
|
|
hosts:
|
|
|
|
edge-cluster-2-master-1:
|
2021-11-08 03:39:02 +01:00
|
|
|
ansible_host: 192.168.102.226
|
2021-11-08 03:32:56 +01:00
|
|
|
edge-cluster-2-worker-1:
|
2021-11-08 03:39:02 +01:00
|
|
|
ansible_host: 192.168.102.180
|
2021-11-08 03:32:56 +01:00
|
|
|
edge-cluster-2-worker-2:
|
2021-11-08 03:39:02 +01:00
|
|
|
ansible_host: 192.168.102.238
|
2021-11-08 03:32:56 +01:00
|
|
|
|
|
|
|
site-1:
|
|
|
|
vars:
|
|
|
|
magic_router_ip: 192.168.103.10
|
|
|
|
magic_routes:
|
|
|
|
- 192.168.100.0/24
|
|
|
|
- 192.168.101.0/24
|
|
|
|
- 192.168.102.0/24
|
|
|
|
ansible_become: true
|
|
|
|
ansible_user: ubuntu
|
|
|
|
hosts:
|
|
|
|
site-emulator-1:
|
2021-11-08 03:39:02 +01:00
|
|
|
ansible_host: 192.168.103.169
|
2021-11-08 03:32:56 +01:00
|
|
|
|
|
|
|
all:
|
|
|
|
children:
|
|
|
|
cloud-1:
|
|
|
|
edge-1:
|
|
|
|
edge-2:
|
|
|
|
site-1:
|