ansible/playbooks/keepalived.yml

26 lines
549 B
YAML
Raw Normal View History

#!/usr/bin/env ansible-playbook
---
- hosts:
- isp-1.rtr.infra.auro.re
- isp-2.rtr.infra.auro.re
vars:
# keepalived__notify_master
# keepalived__notify_backup
# keepalived__notify_fault
keepalived__virtual_router_id: 80
keepalived__interface: ens18
keepalived__virtual_addresses:
client-0:
- 100.64.0.1/27
client-1:
- 100.64.0.33/27
client-2:
- 100.64.0.65/27
client-3:
- 100.64.0.97/27
client-4:
- 100.64.0.129/27
roles:
- keepalived
...