diff options
| -rw-r--r-- | ansible/roles/haproxy/templates/keepalived.conf.j2 | 8 | ||||
| -rw-r--r-- | etc/kolla/passwords.yml | 1 |
2 files changed, 9 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 } diff --git a/etc/kolla/passwords.yml b/etc/kolla/passwords.yml index b0c2d9965..deed018da 100644 --- a/etc/kolla/passwords.yml +++ b/etc/kolla/passwords.yml @@ -86,3 +86,4 @@ rabbitmq_cluster_cookie: "password" # HAProxy options #################### haproxy_password: "password" +keepalived_password: "password" |
