54 lines
1.2 KiB
YAML
Executable file
54 lines
1.2 KiB
YAML
Executable file
#!/usr/bin/env ansible-playbook
|
|
---
|
|
- hosts:
|
|
- isp-1.rtr.infra.auro.re
|
|
- isp-2.rtr.infra.auro.re
|
|
vars:
|
|
keepalived__virtual_router_id: 80
|
|
keepalived__interface: ens20
|
|
keepalived__virtual_addresses:
|
|
client-0:
|
|
- 100.64.0.1/27
|
|
- 2a09:6841::1/56
|
|
- fe80::1/10
|
|
client-1:
|
|
- 100.64.0.33/27
|
|
- 2a09:6841:0:100::1/56
|
|
- fe80::1/10
|
|
client-2:
|
|
- 100.64.0.65/27
|
|
- 2a09:6841:0:200::1/56
|
|
- fe80::1/10
|
|
client-3:
|
|
- 100.64.0.97/27
|
|
- 2a09:6841:0:300::1/56
|
|
- fe80::1/10
|
|
client-4:
|
|
- 100.64.0.129/27
|
|
- 2a09:6841:0:400::1/56
|
|
- fe80::1/10
|
|
roles:
|
|
- keepalived
|
|
|
|
- hosts:
|
|
- edge-1.rtr.infra.auro.re
|
|
- edge-2.rtr.infra.auro.re
|
|
vars:
|
|
keepalived__virtual_router_id: 81
|
|
keepalived__interface: ens22
|
|
keepalived__virtual_addresses:
|
|
ens19:
|
|
- 185.230.79.254/29
|
|
- 2a0c:700:28::2/64
|
|
- fe80::1/10
|
|
ens20:
|
|
- 192.159.121.134/30
|
|
- 2a0c:b641:2ff::6/126
|
|
- fe80::1/10
|
|
ens21:
|
|
- 83.167.52.69/31
|
|
- 2001:1b48:2:103::d7:2/126
|
|
- fe80::1/10
|
|
roles:
|
|
- keepalived
|
|
...
|