Skip to content

Commit

Permalink
Merge pull request #276 from Rosa-Luxemburgstiftung-Berlin/track_inte…
Browse files Browse the repository at this point in the history
…rface-per-sync_group

enable track_interface config per sync_group
  • Loading branch information
evrardjp authored Apr 1, 2023
2 parents 07b46e0 + c0ef1d5 commit 54a6438
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions templates/keepalived.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,13 @@ vrrp_sync_group {{ name }} {
{% endfor %}
}
{% endif %}
{% if sync_group.track_interfaces is defined %}
track_interface {
{% for track_interface in sync_group.track_interfaces %}
{{ track_interface }}
{% endfor %}
}
{% endif %}
}
{% endfor %}

Expand Down

0 comments on commit 54a6438

Please sign in to comment.