76 lines
1.4 KiB
YAML
76 lines
1.4 KiB
YAML
# ip addresses could be acquired from the vms after they're created
|
|
cloud-1:
|
|
vars:
|
|
magic_router_ip: 192.168.110.10
|
|
magic_routes:
|
|
- 192.168.111.0/24
|
|
- 192.168.112.0/24
|
|
- 192.168.113.0/24
|
|
ansible_become: true
|
|
ansible_user: ubuntu
|
|
hosts:
|
|
cloud-cluster-1-master-1:
|
|
cloud-cluster-1-worker-1:
|
|
cloud-cluster-1-worker-2:
|
|
|
|
edge-1:
|
|
vars:
|
|
magic_router_ip: 192.168.111.10
|
|
magic_routes:
|
|
- 192.168.110.0/24
|
|
- 192.168.112.0/24
|
|
- 192.168.113.0/24
|
|
ansible_become: true
|
|
ansible_user: ubuntu
|
|
hosts:
|
|
edge-cluster-1-master-1:
|
|
edge-cluster-1-worker-1:
|
|
edge-cluster-1-worker-2:
|
|
|
|
edge-2:
|
|
become: true
|
|
user: ubuntu
|
|
vars:
|
|
magic_router_ip: 192.168.112.10
|
|
magic_routes:
|
|
- 192.168.110.0/24
|
|
- 192.168.111.0/24
|
|
- 192.168.113.0/24
|
|
ansible_become: true
|
|
ansible_user: ubuntu
|
|
hosts:
|
|
edge-cluster-2-master-1:
|
|
edge-cluster-2-worker-1:
|
|
edge-cluster-2-worker-2:
|
|
|
|
site-1:
|
|
vars:
|
|
magic_router_ip: 192.168.113.10
|
|
magic_routes:
|
|
- 192.168.110.0/24
|
|
- 192.168.111.0/24
|
|
- 192.168.112.0/24
|
|
ansible_become: true
|
|
ansible_user: ubuntu
|
|
hosts:
|
|
site-emulator-1:
|
|
|
|
networking:
|
|
vars:
|
|
ansible_become: true
|
|
ansible_user: ubuntu
|
|
hosts:
|
|
magic-router:
|
|
|
|
kubernetes:
|
|
children:
|
|
cloud-1:
|
|
edge-1:
|
|
edge-2:
|
|
|
|
all:
|
|
children:
|
|
networking:
|
|
kubernetes:
|
|
site-1:
|