diff options
author | Justin chi <chigang@huawei.com> | 2015-10-13 09:35:38 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@172.30.200.206> | 2015-10-13 09:35:38 +0000 |
commit | 37c488499bbbc985a30094ac13126283b70d8dd8 (patch) | |
tree | db94ec0f368925dc47a6bdae0647cc6a2af7be43 /deploy/adapters/ansible/roles/ha | |
parent | 9a21f7ebde85c551312cb0e235b40cc03294d09e (diff) | |
parent | 85d42c56cafb1b7426677c85f5fa0874c0858568 (diff) |
Merge "make internal vip and public vip into one group"
Diffstat (limited to 'deploy/adapters/ansible/roles/ha')
-rw-r--r-- | deploy/adapters/ansible/roles/ha/templates/keepalived.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/roles/ha/templates/keepalived.conf b/deploy/adapters/ansible/roles/ha/templates/keepalived.conf index a2e008a7..d6f424cd 100644 --- a/deploy/adapters/ansible/roles/ha/templates/keepalived.conf +++ b/deploy/adapters/ansible/roles/ha/templates/keepalived.conf @@ -2,6 +2,13 @@ global_defs { router_id {{ inventory_hostname }} } +vrrp_sync_group VG1 { + group { + internal_vip + public_vip + } +} + vrrp_instance internal_vip { interface {{ internal_vip.interface }} virtual_router_id {{ vrouter_id_internal }} |