Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sol1-keepalived
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Sol1 Ansible Roles
sol1-keepalived
Commits
0f3a8f2d
Commit
0f3a8f2d
authored
2 years ago
by
Josh Matthews
Browse files
Options
Downloads
Patches
Plain Diff
making keepalive do multi interfaces at the same time
parent
cf38c594
Branches
Branches containing commit
Tags
v1.0.1
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
templates/keepalived.conf.j2
+4
-3
4 additions, 3 deletions
templates/keepalived.conf.j2
with
4 additions
and
3 deletions
templates/keepalived.conf.j2
+
4
−
3
View file @
0f3a8f2d
...
...
@@ -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
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment