2022-08-27 11:15:18 +02:00
|
|
|
#!/usr/bin/env ansible-playbook
|
|
|
|
---
|
|
|
|
- hosts:
|
|
|
|
- isp-1.rtr.infra.auro.re
|
|
|
|
- isp-2.rtr.infra.auro.re
|
|
|
|
vars:
|
|
|
|
keepalived__virtual_router_id: 80
|
2023-01-07 02:25:53 +01:00
|
|
|
keepalived__interface: ens19
|
2022-08-27 11:15:18 +02:00
|
|
|
keepalived__virtual_addresses:
|
|
|
|
client-0:
|
|
|
|
- 100.64.0.1/27
|
2022-09-04 07:41:17 +02:00
|
|
|
- 2a09:6841::1/56
|
2022-08-27 13:17:35 +02:00
|
|
|
- fe80::1/10
|
2022-08-27 11:15:18 +02:00
|
|
|
client-1:
|
|
|
|
- 100.64.0.33/27
|
2022-09-04 07:41:17 +02:00
|
|
|
- 2a09:6841:0:100::1/56
|
2022-08-27 13:17:35 +02:00
|
|
|
- fe80::1/10
|
2022-08-27 11:15:18 +02:00
|
|
|
client-2:
|
|
|
|
- 100.64.0.65/27
|
2022-09-04 07:41:17 +02:00
|
|
|
- 2a09:6841:0:200::1/56
|
2022-08-27 13:17:35 +02:00
|
|
|
- fe80::1/10
|
2022-08-27 11:15:18 +02:00
|
|
|
client-3:
|
|
|
|
- 100.64.0.97/27
|
2022-09-04 07:41:17 +02:00
|
|
|
- 2a09:6841:0:300::1/56
|
2022-08-27 13:17:35 +02:00
|
|
|
- fe80::1/10
|
2022-08-27 11:15:18 +02:00
|
|
|
client-4:
|
|
|
|
- 100.64.0.129/27
|
2022-09-04 07:41:17 +02:00
|
|
|
- 2a09:6841:0:400::1/56
|
2022-08-27 13:17:35 +02:00
|
|
|
- fe80::1/10
|
2023-01-13 08:55:17 +01:00
|
|
|
keepalived__main: "{{ inventory_hostname_short == 'isp-1' }}"
|
2022-08-27 11:15:18 +02:00
|
|
|
roles:
|
|
|
|
- keepalived
|
2022-12-22 14:40:53 +01:00
|
|
|
|
|
|
|
- hosts:
|
|
|
|
- edge-1.rtr.infra.auro.re
|
|
|
|
- edge-2.rtr.infra.auro.re
|
|
|
|
vars:
|
|
|
|
keepalived__virtual_router_id: 81
|
2023-03-27 21:51:07 +02:00
|
|
|
keepalived__interface: backbone0
|
2022-12-22 14:40:53 +01:00
|
|
|
keepalived__virtual_addresses:
|
2023-03-27 21:51:07 +02:00
|
|
|
crans0:
|
2022-12-22 14:40:53 +01:00
|
|
|
- 185.230.79.254/29
|
|
|
|
- 2a0c:700:28::2/64
|
|
|
|
- fe80::1/10
|
2023-03-27 21:51:07 +02:00
|
|
|
zayo0:
|
2022-12-22 14:40:53 +01:00
|
|
|
- 2001:1b48:2:103::d7:2/126
|
2023-03-26 17:06:34 +02:00
|
|
|
- 83.167.52.69/31
|
|
|
|
- fe80::1/10
|
2023-01-13 08:55:17 +01:00
|
|
|
keepalived__main: "{{ inventory_hostname_short == 'edge-1' }}"
|
2022-12-22 14:40:53 +01:00
|
|
|
roles:
|
|
|
|
- keepalived
|
2022-12-22 15:45:07 +01:00
|
|
|
|
|
|
|
- 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
|
2023-01-07 02:25:53 +01:00
|
|
|
- 2a09:6840:204::1/56
|
2022-12-22 15:45:07 +01:00
|
|
|
- fe80::1/10
|
|
|
|
ens21:
|
|
|
|
- 10.205.0.1/16
|
2023-01-07 02:25:53 +01:00
|
|
|
- 2a09:6840:205::1/56
|
2022-12-22 15:45:07 +01:00
|
|
|
- fe80::1/10
|
|
|
|
ens22:
|
|
|
|
- 10.206.0.1/16
|
2023-01-07 02:25:53 +01:00
|
|
|
- 2a09:6840:206::1/56
|
2022-12-22 15:45:07 +01:00
|
|
|
- fe80::1/10
|
|
|
|
ens23:
|
|
|
|
- 10.207.0.1/16
|
2023-01-07 02:25:53 +01:00
|
|
|
- 2a09:6840:207::1/56
|
2022-12-22 15:45:07 +01:00
|
|
|
- fe80::1/10
|
2023-01-07 03:19:40 +01:00
|
|
|
enp2s1:
|
2022-12-22 15:45:07 +01:00
|
|
|
- 10.208.0.1/16
|
2023-01-07 02:25:53 +01:00
|
|
|
- 2a09:6840:208::1/56
|
2022-12-22 15:45:07 +01:00
|
|
|
- fe80::1/10
|
2023-01-07 03:19:40 +01:00
|
|
|
enp2s2:
|
2022-12-22 15:45:07 +01:00
|
|
|
- 10.209.0.1/16
|
2023-01-07 02:25:53 +01:00
|
|
|
- 2a09:6840:209::1/56
|
2022-12-22 15:45:07 +01:00
|
|
|
- fe80::1/10
|
2023-01-07 03:19:40 +01:00
|
|
|
enp2s3:
|
2022-12-22 15:45:07 +01:00
|
|
|
- 10.210.0.1/16
|
2023-01-07 02:25:53 +01:00
|
|
|
- 2a09:6840:210::1/56
|
2022-12-22 15:45:07 +01:00
|
|
|
- fe80::1/10
|
2023-01-13 08:55:17 +01:00
|
|
|
enp2s4:
|
|
|
|
- 10.211.0.1/16
|
|
|
|
- 2a09:6840:211::1/56
|
|
|
|
- fe80::1/10
|
|
|
|
keepalived__main: "{{ inventory_hostname_short == 'infra-1' }}"
|
2022-12-22 15:45:07 +01:00
|
|
|
roles:
|
|
|
|
- keepalived
|
2022-08-27 11:15:18 +02:00
|
|
|
...
|