rename rtr → back

This commit is contained in:
jeltz 2023-04-05 00:18:25 +02:00
parent cc1786eb2b
commit 454f1d75cb
Signed by: jeltz
GPG key ID: 800882B66C0C3326
9 changed files with 84 additions and 84 deletions

24
hosts
View file

@ -9,16 +9,16 @@ network-1.pve.infra.auro.re
network-2.pve.infra.auro.re network-2.pve.infra.auro.re
[vm_network] [vm_network]
edge-1.rtr.infra.auro.re edge-1.back.infra.auro.re
edge-2.rtr.infra.auro.re edge-2.back.infra.auro.re
dns-1.int.infra.auro.re dns-1.int.infra.auro.re
dns-2.int.infra.auro.re dns-2.int.infra.auro.re
ssh-1.mgmt.infra.auro.re ssh-1.mgmt.infra.auro.re
ssh-2.mgmt.infra.auro.re ssh-2.mgmt.infra.auro.re
infra-1.rtr.infra.auro.re infra-1.back.infra.auro.re
infra-2.rtr.infra.auro.re infra-2.back.infra.auro.re
isp-1.rtr.infra.auro.re isp-1.back.infra.auro.re
isp-2.rtr.infra.auro.re isp-2.back.infra.auro.re
dhcp-1.isp.infra.auro.re dhcp-1.isp.infra.auro.re
dhcp-2.isp.infra.auro.re dhcp-2.isp.infra.auro.re
radius-1.isp.infra.auro.re radius-1.isp.infra.auro.re
@ -127,12 +127,12 @@ dhcp-1.isp.auro.re
dhcp-2.isp.auro.re dhcp-2.isp.auro.re
radius-fleming.adm.auro.re radius-fleming.adm.auro.re
dns-1.int.infra.auro.re dns-1.int.infra.auro.re
isp-1.rtr.infra.auro.re isp-1.back.infra.auro.re
isp-2.rtr.infra.auro.re isp-2.back.infra.auro.re
edge-1.rtr.infra.auro.re edge-1.back.infra.auro.re
edge-2.rtr.infra.auro.re edge-2.back.infra.auro.re
infra-1.rtr.infra.auro.re infra-1.back.infra.auro.re
infra-2.rtr.infra.auro.re infra-2.back.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

View file

@ -1,12 +1,12 @@
#!/usr/bin/env ansible-playbook #!/usr/bin/env ansible-playbook
--- ---
- hosts: - hosts:
- isp-1.rtr.infra.auro.re - isp-1.back.infra.auro.re
- isp-2.rtr.infra.auro.re - isp-2.back.infra.auro.re
vars: vars:
bird__router_ids: bird__router_ids:
isp-1.rtr.infra.auro.re: 10.203.1.5 isp-1.back.infra.auro.re: 10.203.1.5
isp-2.rtr.infra.auro.re: 10.203.1.6 isp-2.back.infra.auro.re: 10.203.1.6
bird__router_id: "{{ bird__router_ids[inventory_hostname] }}" bird__router_id: "{{ bird__router_ids[inventory_hostname] }}"
bird__radv_interfaces: bird__radv_interfaces:
client0: client0:
@ -39,10 +39,10 @@
bird__asn: bird__asn:
aurore: 43619 aurore: 43619
bird__bgp_addresses: bird__bgp_addresses:
isp-1.rtr.infra.auro.re: isp-1.back.infra.auro.re:
- 2a09:6840:203:1:5::1 - 2a09:6840:203:1:5::1
- 10.203.1.5 - 10.203.1.5
isp-2.rtr.infra.auro.re: isp-2.back.infra.auro.re:
- 2a09:6840:203:1:6::1 - 2a09:6840:203:1:6::1
- 10.203.1.6 - 10.203.1.6
bird__bgp_sessions: bird__bgp_sessions:
@ -84,12 +84,12 @@
- bird - bird
- hosts: - hosts:
- infra-1.rtr.infra.auro.re - infra-1.back.infra.auro.re
- infra-2.rtr.infra.auro.re - infra-2.back.infra.auro.re
vars: vars:
bird__router_ids: bird__router_ids:
infra-1.rtr.infra.auro.re: 10.203.1.3 infra-1.back.infra.auro.re: 10.203.1.3
infra-2.rtr.infra.auro.re: 10.203.1.4 infra-2.back.infra.auro.re: 10.203.1.4
bird__router_id: "{{ bird__router_ids[inventory_hostname] }}" bird__router_id: "{{ bird__router_ids[inventory_hostname] }}"
bird__ospf_broadcast_interfaces: bird__ospf_broadcast_interfaces:
back0: null back0: null
@ -105,10 +105,10 @@
bird__asn: bird__asn:
aurore: 43619 aurore: 43619
bird__bgp_addresses: bird__bgp_addresses:
infra-1.rtr.infra.auro.re: infra-1.back.infra.auro.re:
- 2a09:6840:203:1:3::1 - 2a09:6840:203:1:3::1
- 10.203.1.3 - 10.203.1.3
infra-2.rtr.infra.auro.re: infra-2.back.infra.auro.re:
- 2a09:6840:203:1:4::1 - 2a09:6840:203:1:4::1
- 10.203.1.4 - 10.203.1.4
bird__bgp_sessions: bird__bgp_sessions:
@ -142,12 +142,12 @@
- bird - bird
- hosts: - hosts:
- edge-1.rtr.infra.auro.re - edge-1.back.infra.auro.re
- edge-2.rtr.infra.auro.re - edge-2.back.infra.auro.re
vars: vars:
bird__router_ids: bird__router_ids:
edge-1.rtr.infra.auro.re: 10.203.1.1 edge-1.back.infra.auro.re: 10.203.1.1
edge-2.rtr.infra.auro.re: 10.203.1.2 edge-2.back.infra.auro.re: 10.203.1.2
bird__asn: bird__asn:
aurore: 43619 aurore: 43619
crans: 204515 crans: 204515
@ -197,17 +197,17 @@
bird__router_id: "{{ bird__router_ids[inventory_hostname] }}" bird__router_id: "{{ bird__router_ids[inventory_hostname] }}"
bird__bgp_addresses: bird__bgp_addresses:
edge: edge:
edge-1.rtr.infra.auro.re: edge-1.back.infra.auro.re:
- 2a09:6840:203:1:1::1 - 2a09:6840:203:1:1::1
- 10.203.1.1 - 10.203.1.1
edge-2.rtr.infra.auro.re: edge-2.back.infra.auro.re:
- 2a09:6840:203:1:2::1 - 2a09:6840:203:1:2::1
- 10.203.1.2 - 10.203.1.2
legacy: legacy:
edge-1.rtr.infra.auro.re: edge-1.back.infra.auro.re:
- 2a09:6840:129::10:2 - 2a09:6840:129::10:2
- 10.129.10.2 - 10.129.10.2
edge-2.rtr.infra.auro.re: edge-2.back.infra.auro.re:
- 2a09:6840:129::10:102 - 2a09:6840:129::10:102
- 10.129.10.102 - 10.129.10.102
bird__bgp_sessions: bird__bgp_sessions:

View file

@ -12,7 +12,7 @@
- 10.206.0.1 - 10.206.0.1
# TODO: netbox # TODO: netbox
ifupdown2__hosts: ifupdown2__hosts:
edge-1.rtr.infra.auro.re: edge-1.back.infra.auro.re:
adm0: adm0:
addresses: addresses:
- 2a09:6840:128::10:2/56 - 2a09:6840:128::10:2/56
@ -33,7 +33,7 @@
addresses: addresses:
- 2a09:6840:129::10:2/56 - 2a09:6840:129::10:2/56
- 10.129.10.2/16 - 10.129.10.2/16
edge-2.rtr.infra.auro.re: edge-2.back.infra.auro.re:
adm0: adm0:
addresses: addresses:
- 2a09:6840:128::10:102/56 - 2a09:6840:128::10:102/56
@ -101,7 +101,7 @@
addresses: addresses:
- 2a09:6840:211:1:2::1/56 - 2a09:6840:211:1:2::1/56
- 10.211.1.2/16 - 10.211.1.2/16
infra-1.rtr.infra.auro.re: infra-1.back.infra.auro.re:
adm0: adm0:
addresses: addresses:
- 2a09:6840:128::10:4/56 - 2a09:6840:128::10:4/56
@ -127,7 +127,7 @@
ipv6_addrgen: false ipv6_addrgen: false
mgmt0: mgmt0:
ipv6_addrgen: false ipv6_addrgen: false
infra-2.rtr.infra.auro.re: infra-2.back.infra.auro.re:
adm0: adm0:
addresses: addresses:
- 2a09:6840:128::10:104/56 - 2a09:6840:128::10:104/56
@ -153,7 +153,7 @@
ipv6_addrgen: false ipv6_addrgen: false
mgmt0: mgmt0:
ipv6_addrgen: false ipv6_addrgen: false
isp-1.rtr.infra.auro.re: isp-1.back.infra.auro.re:
adm0: adm0:
addresses: addresses:
- 2a09:6840:128::10:5/56 - 2a09:6840:128::10:5/56
@ -193,7 +193,7 @@
vlan_id: 1004 vlan_id: 1004
vlan_raw_device: clients0 vlan_raw_device: clients0
ipv6_addrgen: false ipv6_addrgen: false
isp-2.rtr.infra.auro.re: isp-2.back.infra.auro.re:
adm0: adm0:
addresses: addresses:
- 2a09:6840:128::10:105/56 - 2a09:6840:128::10:105/56

View file

@ -1,10 +1,10 @@
#!/usr/bin/env ansible-playbook #!/usr/bin/env ansible-playbook
--- ---
- hosts: - hosts:
- edge-1.rtr.infra.auro.re - edge-1.back.infra.auro.re
- edge-2.rtr.infra.auro.re - edge-2.back.infra.auro.re
- infra-1.rtr.infra.auro.re - infra-1.back.infra.auro.re
- infra-2.rtr.infra.auro.re - infra-2.back.infra.auro.re
roles: roles:
- ip_forward - ip_forward
... ...

View file

@ -1,8 +1,8 @@
#!/usr/bin/env ansible-playbook #!/usr/bin/env ansible-playbook
--- ---
- hosts: - hosts:
- isp-1.rtr.infra.auro.re - isp-1.back.infra.auro.re
- isp-2.rtr.infra.auro.re - isp-2.back.infra.auro.re
vars: vars:
keepalived__virtual_router_id: 80 keepalived__virtual_router_id: 80
keepalived__interface: back0 keepalived__interface: back0
@ -32,8 +32,8 @@
- keepalived - keepalived
- hosts: - hosts:
- edge-1.rtr.infra.auro.re - edge-1.back.infra.auro.re
- edge-2.rtr.infra.auro.re - edge-2.back.infra.auro.re
vars: vars:
keepalived__virtual_router_id: 81 keepalived__virtual_router_id: 81
keepalived__interface: back0 keepalived__interface: back0
@ -51,8 +51,8 @@
- keepalived - keepalived
- hosts: - hosts:
- infra-1.rtr.infra.auro.re - infra-1.back.infra.auro.re
- infra-2.rtr.infra.auro.re - infra-2.back.infra.auro.re
vars: vars:
keepalived__virtual_router_id: 82 keepalived__virtual_router_id: 82
keepalived__interface: back0 keepalived__interface: back0

View file

@ -349,10 +349,10 @@
network-2.pve: network-2.pve:
- 10.128.2.1 - 10.128.2.1
- 2a09:6840:128::2:1 - 2a09:6840:128::2:1
edge-1.rtr: edge-1.back:
- 10.128.10.2 - 10.128.10.2
- 2a09:6840:128::10:2 - 2a09:6840:128::10:2
edge-2.rtr: edge-2.back:
- 10.128.10.102 - 10.128.10.102
- 2a09:6840:128::10:102 - 2a09:6840:128::10:102
dns-1.int: dns-1.int:
@ -367,16 +367,16 @@
ssh-2.mgmt: ssh-2.mgmt:
- 10.128.10.101 - 10.128.10.101
- 2a09:6840:128::10:101 - 2a09:6840:128::10:101
infra-1.rtr: infra-1.back:
- 10.128.10.4 - 10.128.10.4
- 2a09:6840:128::10:4 - 2a09:6840:128::10:4
infra-2.rtr: infra-2.back:
- 10.128.10.104 - 10.128.10.104
- 2a09:6840:128::10:104 - 2a09:6840:128::10:104
isp-1.rtr: isp-1.back:
- 10.128.10.5 - 10.128.10.5
- 2a09:6840:128::10:5 - 2a09:6840:128::10:5
isp-2.rtr: isp-2.back:
- 10.128.10.105 - 10.128.10.105
- 2a09:6840:128::10:105 - 2a09:6840:128::10:105
dhcp-1.isp: dhcp-1.isp:

View file

@ -1,8 +1,8 @@
#!/usr/bin/env ansible-playbook #!/usr/bin/env ansible-playbook
--- ---
- hosts: - hosts:
- isp-1.rtr.infra.auro.re - isp-1.back.infra.auro.re
- isp-2.rtr.infra.auro.re - isp-2.back.infra.auro.re
vars: vars:
nftables__vars: nftables__vars:
adm_ipv6: 2a09:6840:128::/56 adm_ipv6: 2a09:6840:128::/56
@ -121,8 +121,8 @@
- nftables - nftables
- hosts: - hosts:
- infra-1.rtr.infra.auro.re - infra-1.back.infra.auro.re
- infra-2.rtr.infra.auro.re - infra-2.back.infra.auro.re
vars: vars:
nftables__vars: nftables__vars:
adm_ipv6: 2a09:6840:128::/56 adm_ipv6: 2a09:6840:128::/56

View file

@ -9,24 +9,24 @@
- prometheus_node - prometheus_node
- hosts: - hosts:
- edge-1.rtr.infra.auro.re - edge-1.back.infra.auro.re
- edge-2.rtr.infra.auro.re - edge-2.back.infra.auro.re
- isp-1.rtr.infra.auro.re - isp-1.back.infra.auro.re
- isp-2.rtr.infra.auro.re - isp-2.back.infra.auro.re
- infra-1.rtr.infra.auro.re - infra-1.back.infra.auro.re
- infra-2.rtr.infra.auro.re - infra-2.back.infra.auro.re
vars: vars:
prometheus_keepalived__dest: /var/run/prometheus-node-exporter/keepalived.prom prometheus_keepalived__dest: /var/run/prometheus-node-exporter/keepalived.prom
roles: roles:
- prometheus_keepalived - prometheus_keepalived
- hosts: - hosts:
- edge-1.rtr.infra.auro.re - edge-1.back.infra.auro.re
- edge-2.rtr.infra.auro.re - edge-2.back.infra.auro.re
- isp-1.rtr.infra.auro.re - isp-1.back.infra.auro.re
- isp-2.rtr.infra.auro.re - isp-2.back.infra.auro.re
- infra-1.rtr.infra.auro.re - infra-1.back.infra.auro.re
- infra-2.rtr.infra.auro.re - infra-2.back.infra.auro.re
roles: roles:
- prometheus_bird - prometheus_bird
@ -52,8 +52,8 @@
port: 9090 port: 9090
bird: bird:
targets: targets:
- edge-1.rtr.infra.auro.re - edge-1.back.infra.auro.re
- edge-2.rtr.infra.auro.re - edge-2.back.infra.auro.re
address: address:
port: 9324 port: 9324
prometheus__alert_rules: prometheus__alert_rules:

View file

@ -1,16 +1,16 @@
#!/usr/bin/env ansible-playbook #!/usr/bin/env ansible-playbook
--- ---
- hosts: - hosts:
- edge-1.rtr.infra.auro.re - edge-1.back.infra.auro.re
- edge-2.rtr.infra.auro.re - edge-2.back.infra.auro.re
- ssh-1.mgmt.infra.auro.re - ssh-1.mgmt.infra.auro.re
- ssh-2.mgmt.infra.auro.re - ssh-2.mgmt.infra.auro.re
- dns-1.int.infra.auro.re - dns-1.int.infra.auro.re
- dns-2.int.infra.auro.re - dns-2.int.infra.auro.re
- infra-1.rtr.infra.auro.re - infra-1.back.infra.auro.re
- infra-2.rtr.infra.auro.re - infra-2.back.infra.auro.re
- isp-1.rtr.infra.auro.re - isp-1.back.infra.auro.re
- isp-2.rtr.infra.auro.re - isp-2.back.infra.auro.re
- dhcp-1.isp.infra.auro.re - dhcp-1.isp.infra.auro.re
- dhcp-2.isp.infra.auro.re - dhcp-2.isp.infra.auro.re
- radius-1.isp.infra.auro.re - radius-1.isp.infra.auro.re
@ -23,7 +23,7 @@
- prometheus-2.monit.infra.auro.re - prometheus-2.monit.infra.auro.re
vars: vars:
systemd_link__hosts: systemd_link__hosts:
edge-1.rtr.infra.auro.re: edge-1.back.infra.auro.re:
adm0: adm0:
mac: 02:00:00:9E:3E:21 mac: 02:00:00:9E:3E:21
crans0: crans0:
@ -38,7 +38,7 @@
mac: 02:00:00:ED:70:64 mac: 02:00:00:ED:70:64
router0: router0:
mac: 02:00:00:5A:17:7C mac: 02:00:00:5A:17:7C
edge-2.rtr.infra.auro.re: edge-2.back.infra.auro.re:
adm0: adm0:
mac: 04:00:00:F5:69:B9 mac: 04:00:00:F5:69:B9
crans0: crans0:
@ -77,7 +77,7 @@
mac: 04:00:00:2a:6e:be mac: 04:00:00:2a:6e:be
int0: int0:
mac: 04:00:00:3c:c0:5a mac: 04:00:00:3c:c0:5a
infra-1.rtr.infra.auro.re: infra-1.back.infra.auro.re:
adm0: adm0:
mac: 02:00:00:f0:8a:dd mac: 02:00:00:f0:8a:dd
back0: back0:
@ -98,7 +98,7 @@
mac: 02:00:00:6b:53:14 mac: 02:00:00:6b:53:14
mgmt0: mgmt0:
mac: 02:00:00:32:86:60 mac: 02:00:00:32:86:60
infra-2.rtr.infra.auro.re: infra-2.back.infra.auro.re:
adm0: adm0:
mac: 04:00:00:d3:03:53 mac: 04:00:00:d3:03:53
back0: back0:
@ -119,14 +119,14 @@
mac: 04:00:00:f4:4c:5d mac: 04:00:00:f4:4c:5d
mgmt0: mgmt0:
mac: 04:00:00:1d:0e:83 mac: 04:00:00:1d:0e:83
isp-1.rtr.infra.auro.re: isp-1.back.infra.auro.re:
adm0: adm0:
mac: 02:00:00:D8:37:45 mac: 02:00:00:D8:37:45
back0: back0:
mac: 02:00:00:BF:10:4C mac: 02:00:00:BF:10:4C
trunk0: trunk0:
mac: 02:00:00:E9:BA:15 mac: 02:00:00:E9:BA:15
isp-2.rtr.infra.auro.re: isp-2.back.infra.auro.re:
adm0: adm0:
mac: 04:00:00:85:C3:5D mac: 04:00:00:85:C3:5D
back0: back0: