Skip to content

Commit

Permalink
Merge pull request #220 from evrardjp/mhmd3bdo/master
Browse files Browse the repository at this point in the history
Make vips optional
  • Loading branch information
evrardjp authored Jul 15, 2022
2 parents 83e4ad7 + ecd2812 commit 4343967
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions templates/keepalived.conf.j2
Original file line number Diff line number Diff line change
Expand Up @@ -146,11 +146,13 @@ vrrp_instance {{ name }} {
{% endfor %}
}
{% endif %}
{% if instance.vips is defined and instance.vips | length > 0 %}
virtual_ipaddress {
{% for vip in instance.vips %}
{{ vip }}
{% endfor %}
}
{% endif %}
{% if instance.vips_excluded is defined and instance.vips_excluded | length > 0 %}
virtual_ipaddress_excluded {
{% for vip in instance.vips_excluded %}
Expand Down

0 comments on commit 4343967

Please sign in to comment.