summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorm00133142 <meimei@huawei.com>2015-10-26 22:43:02 -0700
committerm00133142 <meimei@huawei.com>2015-10-26 22:43:02 -0700
commit7a0abbfd97c24635e160799f1a819b7dc257cb30 (patch)
tree91ab04cdcb78c19a76cd1d07f97b0fe55e7d2b17
parent4d2673fbf7dc77113309c2ce50eaa2b850c7825e (diff)
should wait longer time for starting the service of mongo db
JIRA: COMPASS-118 Change-Id: I118f591e138eb772be1342920c6ab99716ee7961 Signed-off-by: m00133142 <meimei@huawei.com>
-rw-r--r--deploy/adapters/ansible/roles/database/tasks/mongodb.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/deploy/adapters/ansible/roles/database/tasks/mongodb.yml b/deploy/adapters/ansible/roles/database/tasks/mongodb.yml
index ca61e905..5ca23a19 100644
--- a/deploy/adapters/ansible/roles/database/tasks/mongodb.yml
+++ b/deploy/adapters/ansible/roles/database/tasks/mongodb.yml
@@ -19,7 +19,7 @@
- name: manually restart mongodb server
service: name=mongodb state=restarted
-- wait_for: port=27017 delay=3 timeout=30 host={{ internal_vip.ip }}
+- wait_for: port=27017 delay=3 timeout=60 host={{ internal_vip.ip }}
- name: create mongodb user
run_once: True