blob: 462cbd65ebade386f6cc5c839ea0a298fccc2114 [file] [log] [blame]
applications:
- keepalived
classes:
- service.keepalived.support
parameters:
keepalived:
cluster:
vrrp_scripts:
vip:
content: "pidof haproxy && docker service ls"
interval: 30
rise: 1
fall: 1
enabled: true
instance:
cicd_control_vip:
address: ${_param:cluster_vip_address}
password: ${_param:keepalived_vip_password}
interface: ${_param:keepalived_vip_interface}
virtual_router_id: ${_param:keepalived_vip_virtual_router_id}
priority: ${_param:keepalived_vip_priority}
track_script: vip