diff options
Diffstat (limited to 'data/templates/vrrp/keepalived.conf.tmpl')
-rw-r--r-- | data/templates/vrrp/keepalived.conf.tmpl | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/data/templates/vrrp/keepalived.conf.tmpl b/data/templates/vrrp/keepalived.conf.tmpl index 08b821f70..210621681 100644 --- a/data/templates/vrrp/keepalived.conf.tmpl +++ b/data/templates/vrrp/keepalived.conf.tmpl @@ -70,6 +70,14 @@ vrrp_instance {{ group.name }} { {% endfor -%} } + {% if group.virtual_addresses_excluded -%} + virtual_ipaddress_excluded { + {% for addr in group.virtual_addresses_excluded -%} + {{ addr }} + {% endfor -%} + } + {% endif -%} + {% if group.health_check_script -%} track_script { healthcheck_{{ group.name }} |