aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ansible/roles/haproxy/templates/keepalived.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/ansible/roles/haproxy/templates/keepalived.conf.j2 b/ansible/roles/haproxy/templates/keepalived.conf.j2
index 232ff8e46..01ddabafe 100644
--- a/ansible/roles/haproxy/templates/keepalived.conf.j2
+++ b/ansible/roles/haproxy/templates/keepalived.conf.j2
@@ -9,7 +9,7 @@ vrrp_instance Floating {
state MASTER
interface {{ api_interface }}
virtual_router_id 51
- priority {{ groups['haproxy'].index(inventory_hostname) }}
+ priority {{ groups['haproxy'].index(inventory_hostname) + 1 }}
advert_int 1
virtual_ipaddress {
{{ kolla_internal_address }}