Skip to content

Commit

Permalink
Merge pull request #151 from carrotquest/master
Browse files Browse the repository at this point in the history
Added dont_track_primary configuration option to vrrp_instance
  • Loading branch information
evrardjp authored Aug 14, 2020
2 parents 7d2a1cf + b2656c2 commit ae8ccd2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions templates/keepalived.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ vrrp_instance {{ name }} {
{% if instance.advert_int is defined %}
advert_int {{ instance.advert_int }}
{% endif %}
{% if instance.dont_track_primary is defined and instance.dont_track_primary | bool %}
dont_track_primary # Override VRRP RFC dont_track_primary default
{% endif %}
{% if instance.authentication_password is defined %}
authentication {
auth_type PASS
Expand Down

0 comments on commit ae8ccd2

Please sign in to comment.