diff options
author | carey.xu <carey.xuhan@huawei.com> | 2015-12-17 18:16:12 +0800 |
---|---|---|
committer | carey.xu <carey.xuhan@huawei.com> | 2015-12-25 13:18:21 +0800 |
commit | bb31ed2d10f1876a50353abb258c2a5be13e2da2 (patch) | |
tree | 7e716df5ccc99bb19b624ff41ffd77cc0e60fb10 /deploy/adapters/ansible/roles/database/tasks/main.yml | |
parent | 21e1b393c0fc7f52c831882b53454877f6942495 (diff) |
deploy mongodb as cluster for HA
JIRA: COMPASS-207
Change-Id: I1069bcc2d0dd97dd6a4c7bb61351be993d86b33a
Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/database/tasks/main.yml')
-rw-r--r-- | deploy/adapters/ansible/roles/database/tasks/main.yml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/database/tasks/main.yml b/deploy/adapters/ansible/roles/database/tasks/main.yml index 20b6fe4b..bfdcb75b 100644 --- a/deploy/adapters/ansible/roles/database/tasks/main.yml +++ b/deploy/adapters/ansible/roles/database/tasks/main.yml @@ -9,4 +9,7 @@ when: - inventory_hostname == haproxy_hosts.keys()[0] -- include: mongodb.yml +- include: mongodb_install.yml +- include: mongodb_config.yml + when: + - inventory_hostname == haproxy_hosts.keys()[0] |