blob: 8dbb4ae6fe08879bf5ade3853d4f9ffec6f1b387 [file] [log] [blame]
keepalived:
cluster:
enabled: True
instance:
VIP0:
priority: 100
virtual_router_id: 10
password: pass
addresses:
- 192.168.11.1
- 192.168.11.2
interface: eth0
VIP1:
priority: 100
virtual_router_id: 11
password: pass
addresses:
- 192.168.10.1
- 192.168.10.2
interface: eth0
track_script: random_check
vrrp_scripts:
random_check:
interval: 10
content: |
#!/bin/bash
exit $(($RANDOM%2))