Use mongodb_conf_dbpath rather than a hard-coded path name

This commit is contained in:
Adam Snodgrass 2015-09-03 14:48:56 -04:00
parent c5e2a1f70a
commit 348c874f49
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