aboutsummaryrefslogtreecommitdiff
path: root/ansible
diff options
context:
space:
mode:
Diffstat (limited to 'ansible')
-rw-r--r--ansible/roles/haproxy/templates/keepalived.conf.j28
1 files changed, 8 insertions, 0 deletions
diff --git a/ansible/roles/haproxy/templates/keepalived.conf.j2 b/ansible/roles/haproxy/templates/keepalived.conf.j2
index dee8a6e5e..d599ea721 100644
--- a/ansible/roles/haproxy/templates/keepalived.conf.j2
+++ b/ansible/roles/haproxy/templates/keepalived.conf.j2
@@ -14,6 +14,10 @@ vrrp_instance kolla_internal_vip {
virtual_ipaddress {
{{ kolla_internal_vip_address }}
}
+ authentication {
+ auth_type PASS
+ auth_pass {{ keepalived_password }}
+ }
track_script {
check_alive
}
@@ -29,6 +33,10 @@ vrrp_instance kolla_external_vip {
virtual_ipaddress {
{{ kolla_external_vip_address }}
}
+ authentication {
+ auth_type PASS
+ auth_pass {{ keepalived_password }}
+ }
track_script {
check_alive
}