Skip to content

Commit 5d1fb07

Browse files
committed
Merge pull request #34 from asnodgrass/make_dbpath_configurable
Use mongodb_conf_dbpath rather than a hard-coded path name
2 parents c5e2a1f + 348c874 commit 5d1fb07

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tasks/install.deb.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@
3131
- "{{mongodb_package}}"
3232
- numactl
3333

34-
- name: Ensure /data directory
35-
file: path=/data/db state=directory owner=mongodb recurse=yes
34+
- name: Ensure dbpath directory
35+
file: path={{mongodb_conf_dbpath}} state=directory owner=mongodb recurse=yes
3636

3737
- name: reload systemd
3838
shell: systemctl daemon-reload

0 commit comments

Comments
 (0)