Skip to content
Snippets Groups Projects
Commit 0f3a8f2d authored by Josh Matthews's avatar Josh Matthews
Browse files

making keepalive do multi interfaces at the same time

parent cf38c594
Branches
Tags v1.0.1
No related merge requests found
......@@ -19,9 +19,10 @@ vrrp_instance VI_1 {
auth_type PASS
auth_pass {{ keepalived_auth_pass }}
}
virtual_ipaddress {
{{ keepalived_vip }} dev {{ keepalived_shared_iface }} label {{ keepalived_shared_iface }}:0
}
{% for vip in keepalived_vip %}
{{ vip.address }} dev {{ vip.interface }} label {{ vip.interface }}:0
{% endfor %}
track_script {
chk_service
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment