Merge pull request #34 from asnodgrass/make_dbpath_configurable

Use mongodb_conf_dbpath rather than a hard-coded path name
This commit is contained in:
Sergei Antipov 2015-10-05 12:55:56 +05:00
commit 5d1fb07e87
1 changed files with 2 additions and 2 deletions

View File

@ -31,8 +31,8 @@
- "{{mongodb_package}}"
- numactl
- name: Ensure /data directory
file: path=/data/db state=directory owner=mongodb recurse=yes
- name: Ensure dbpath directory
file: path={{mongodb_conf_dbpath}} state=directory owner=mongodb recurse=yes
- name: reload systemd
shell: systemctl daemon-reload