Fixed things

This commit is contained in:
2021-11-11 18:47:19 +01:00
parent fbee178ad2
commit f67835393f
3 changed files with 18 additions and 12 deletions

View File

@ -10,11 +10,8 @@ cloud-1:
ansible_user: ubuntu
hosts:
cloud-cluster-1-master-1:
ansible_host: 192.168.110.100
cloud-cluster-1-worker-1:
ansible_host: 192.168.110.101
cloud-cluster-1-worker-2:
ansible_host: 192.168.110.102
edge-1:
@ -28,11 +25,8 @@ edge-1:
ansible_user: ubuntu
hosts:
edge-cluster-1-master-1:
ansible_host: 192.168.111.100
edge-cluster-1-worker-1:
ansible_host: 192.168.111.101
edge-cluster-1-worker-2:
ansible_host: 192.168.111.102
edge-2:
become: true
@ -47,11 +41,8 @@ edge-2:
ansible_user: ubuntu
hosts:
edge-cluster-2-master-1:
ansible_host: 192.168.112.100
edge-cluster-2-worker-1:
ansible_host: 192.168.112.101
edge-cluster-2-worker-2:
ansible_host: 192.168.112.102
site-1:
vars:
@ -64,7 +55,6 @@ site-1:
ansible_user: ubuntu
hosts:
site-emulator-1:
ansible_host: 192.168.113.100
all:
children:

View File

@ -7,7 +7,7 @@ network:
dhcp6: false
gateway4: {{ ansible_default_ipv4.gateway }}
addresses:
- "{{ ansible_host }}/24"
- "{{ ansible_default_ipv4.address }}/24"
routes:
{% for item in magic_routes %}
- to: {{ item }}