blob: 462cbd65ebade386f6cc5c839ea0a298fccc2114 [file] [log] [blame]
Filip Pytloun3a1e3d32017-02-23 15:02:54 +01001applications:
2 - keepalived
3classes:
4 - service.keepalived.support
5parameters:
6 keepalived:
7 cluster:
Mateusz Matuszkowiak6176a5a2018-02-26 11:08:47 +01008 vrrp_scripts:
Mateusz Matuszkowiake4204862018-02-28 14:19:08 +01009 vip:
10 content: "pidof haproxy && docker service ls"
11 interval: 30
Mateusz Matuszkowiak6176a5a2018-02-26 11:08:47 +010012 rise: 1
13 fall: 1
Filip Pytloun3a1e3d32017-02-23 15:02:54 +010014 enabled: true
15 instance:
16 cicd_control_vip:
17 address: ${_param:cluster_vip_address}
18 password: ${_param:keepalived_vip_password}
19 interface: ${_param:keepalived_vip_interface}
20 virtual_router_id: ${_param:keepalived_vip_virtual_router_id}
21 priority: ${_param:keepalived_vip_priority}
Mateusz Matuszkowiake4204862018-02-28 14:19:08 +010022 track_script: vip