playbooks: add infra-{1,2}.rtr
This commit is contained in:
parent
9cd983aa4c
commit
d653432d18
3 changed files with 98 additions and 2 deletions
2
hosts
2
hosts
|
@ -98,6 +98,8 @@ isp-1.rtr.infra.auro.re
|
||||||
isp-2.rtr.infra.auro.re
|
isp-2.rtr.infra.auro.re
|
||||||
edge-1.rtr.infra.auro.re
|
edge-1.rtr.infra.auro.re
|
||||||
edge-2.rtr.infra.auro.re
|
edge-2.rtr.infra.auro.re
|
||||||
|
infra-1.rtr.infra.auro.re
|
||||||
|
infra-2.rtr.infra.auro.re
|
||||||
dhcp-1.isp.auro.re
|
dhcp-1.isp.auro.re
|
||||||
dhcp-2.isp.auro.re
|
dhcp-2.isp.auro.re
|
||||||
radius-fleming-backup.adm.auro.re
|
radius-fleming-backup.adm.auro.re
|
||||||
|
|
|
@ -9,6 +9,8 @@
|
||||||
- isp-2.rtr.infra.auro.re
|
- isp-2.rtr.infra.auro.re
|
||||||
- edge-1.rtr.infra.auro.re
|
- edge-1.rtr.infra.auro.re
|
||||||
- edge-2.rtr.infra.auro.re
|
- edge-2.rtr.infra.auro.re
|
||||||
|
- infra-1.rtr.infra.auro.re
|
||||||
|
- infra-2.rtr.infra.auro.re
|
||||||
vars:
|
vars:
|
||||||
# TODO: netbox
|
# TODO: netbox
|
||||||
ifupdown2__hosts:
|
ifupdown2__hosts:
|
||||||
|
@ -214,7 +216,7 @@
|
||||||
ens21: null # zayo
|
ens21: null # zayo
|
||||||
ens22: # backbone
|
ens22: # backbone
|
||||||
addresses:
|
addresses:
|
||||||
- 2a09:6840:203:1:1::/64
|
- 2a09:6840:203:1:1::1/64
|
||||||
- 10.203.1.1/16
|
- 10.203.1.1/16
|
||||||
edge-2.rtr.infra.auro.re:
|
edge-2.rtr.infra.auro.re:
|
||||||
ens18:
|
ens18:
|
||||||
|
@ -229,8 +231,60 @@
|
||||||
ens21: null # zayo
|
ens21: null # zayo
|
||||||
ens22: # backbone
|
ens22: # backbone
|
||||||
addresses:
|
addresses:
|
||||||
- 2a09:6840:203:1:2::/64
|
- 2a09:6840:203:1:2::1/64
|
||||||
- 10.203.1.2/16
|
- 10.203.1.2/16
|
||||||
|
infra-1.rtr.infra.auro.re:
|
||||||
|
ens18:
|
||||||
|
gateways:
|
||||||
|
- 2a09:6840:128::254
|
||||||
|
- 10.128.0.254
|
||||||
|
addresses:
|
||||||
|
- 2a09:6840:128::2:76/56
|
||||||
|
- 10.128.2.76/16
|
||||||
|
ens19:
|
||||||
|
addresses:
|
||||||
|
- 2a09:6840:1:3::1/64
|
||||||
|
- 10.203.1.3/16
|
||||||
|
ens20:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
ens21:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
ens22:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
ens23:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
ens1:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
ens2:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
enp1s3:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
infra-2.rtr.infra.auro.re:
|
||||||
|
ens18:
|
||||||
|
gateways:
|
||||||
|
- 2a09:6840:128::254
|
||||||
|
- 10.128.0.254
|
||||||
|
addresses:
|
||||||
|
- 2a09:6840:128::2:27/56
|
||||||
|
- 10.128.2.27/16
|
||||||
|
ens19:
|
||||||
|
addresses:
|
||||||
|
- 2a09:6840:1:4::1/64
|
||||||
|
- 10.203.1.4/16
|
||||||
|
ens20:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
ens21:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
ens22:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
ens23:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
ens1:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
ens2:
|
||||||
|
ipv6_addrgen: false
|
||||||
|
enp1s3:
|
||||||
|
ipv6_addrgen: false
|
||||||
ifupdown2__interfaces: "{{ ifupdown2__hosts[inventory_hostname] }}"
|
ifupdown2__interfaces: "{{ ifupdown2__hosts[inventory_hostname] }}"
|
||||||
roles:
|
roles:
|
||||||
- ifupdown2
|
- ifupdown2
|
||||||
|
@ -244,6 +298,8 @@
|
||||||
- isp-2.rtr.infra.auro.re
|
- isp-2.rtr.infra.auro.re
|
||||||
- edge-1.rtr.infra.auro.re
|
- edge-1.rtr.infra.auro.re
|
||||||
- edge-2.rtr.infra.auro.re
|
- edge-2.rtr.infra.auro.re
|
||||||
|
- infra-1.rtr.infra.auro.re
|
||||||
|
- infra-2.rtr.infra.auro.re
|
||||||
vars:
|
vars:
|
||||||
resolvconf__nameservers:
|
resolvconf__nameservers:
|
||||||
- 2a09:6840:128::127
|
- 2a09:6840:128::127
|
||||||
|
|
|
@ -51,4 +51,42 @@
|
||||||
- fe80::1/10
|
- fe80::1/10
|
||||||
roles:
|
roles:
|
||||||
- keepalived
|
- keepalived
|
||||||
|
|
||||||
|
- hosts:
|
||||||
|
- infra-1.rtr.infra.auro.re
|
||||||
|
- infra-2.rtr.infra.auro.re
|
||||||
|
vars:
|
||||||
|
keepalived__virtual_router_id: 82
|
||||||
|
keepalived__interface: ens19
|
||||||
|
keepalived__virtual_addresses:
|
||||||
|
ens20:
|
||||||
|
- 10.204.0.1/16
|
||||||
|
- 2a09:6840:204::1/64
|
||||||
|
- fe80::1/10
|
||||||
|
ens21:
|
||||||
|
- 10.205.0.1/16
|
||||||
|
- 2a09:6840:205::1/64
|
||||||
|
- fe80::1/10
|
||||||
|
ens22:
|
||||||
|
- 10.206.0.1/16
|
||||||
|
- 2a09:6840:206::1/64
|
||||||
|
- fe80::1/10
|
||||||
|
ens23:
|
||||||
|
- 10.207.0.1/16
|
||||||
|
- 2a09:6840:207::1/64
|
||||||
|
- fe80::1/10
|
||||||
|
ens1:
|
||||||
|
- 10.208.0.1/16
|
||||||
|
- 2a09:6840:208::1/64
|
||||||
|
- fe80::1/10
|
||||||
|
ens2:
|
||||||
|
- 10.209.0.1/16
|
||||||
|
- 2a09:6840:209::1/64
|
||||||
|
- fe80::1/10
|
||||||
|
enp1s3:
|
||||||
|
- 10.210.0.1/16
|
||||||
|
- 2a09:6840:210::1/64
|
||||||
|
- fe80::1/10
|
||||||
|
roles:
|
||||||
|
- keepalived
|
||||||
...
|
...
|
||||||
|
|
Loading…
Reference in a new issue