Skip to content

Commit

Permalink
Add support for accept/no_accept for instances.
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Hill committed May 25, 2021
1 parent b5fe49d commit d59c740
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 @@ -93,6 +93,13 @@ vrrp_instance {{ name }} {
{% 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.accept is defined and instance.accept | bool %}
{% if instance.accept %}
accept
{% else %}
no_accept
{% endif %}
{% endif %}
{% if instance.authentication_password is defined %}
authentication {
auth_type PASS
Expand Down

0 comments on commit d59c740

Please sign in to comment.