summaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/roles/database/tasks/mongodb.yml
diff options
context:
space:
mode:
authorcarey.xu <carey.xuhan@huawei.com>2015-12-04 09:40:39 +0800
committercarey.xu <carey.xuhan@huawei.com>2015-12-04 11:17:50 +0800
commit86782f3e375274cb65dc0b0b7d48450e73e85df3 (patch)
tree1a1c09b4b7c98e62a3102494e62ef408c0e80822 /deploy/adapters/ansible/roles/database/tasks/mongodb.yml
parent5de09de80aac43e61ec411ad598e8cd915d9cadd (diff)
database script refactor
JIRA: COMPASS-176 Change-Id: I0f87903a94a8072af274d6d5dcf4dd5041f297e6 Signed-off-by: carey.xu <carey.xuhan@huawei.com>
Diffstat (limited to 'deploy/adapters/ansible/roles/database/tasks/mongodb.yml')
-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 c46a2932..c5e1d6d1 100644
--- a/deploy/adapters/ansible/roles/database/tasks/mongodb.yml
+++ b/deploy/adapters/ansible/roles/database/tasks/mongodb.yml
@@ -21,7 +21,7 @@
- /var/lib/mongodb/journal/*
- name: manually restart mongodb server
- service: name={{ mongodb_serveice }} state=restarted
+ service: name={{ mongodb_service }} state=restarted
- wait_for: port=27017 delay=3 timeout=60 host={{ internal_vip.ip }}