mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-01-09 13:05:45 +00:00
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:
commit
5d1fb07e87
@ -31,8 +31,8 @@
|
|||||||
- "{{mongodb_package}}"
|
- "{{mongodb_package}}"
|
||||||
- numactl
|
- numactl
|
||||||
|
|
||||||
- name: Ensure /data directory
|
- name: Ensure dbpath directory
|
||||||
file: path=/data/db state=directory owner=mongodb recurse=yes
|
file: path={{mongodb_conf_dbpath}} state=directory owner=mongodb recurse=yes
|
||||||
|
|
||||||
- name: reload systemd
|
- name: reload systemd
|
||||||
shell: systemctl daemon-reload
|
shell: systemctl daemon-reload
|
||||||
|
Loading…
x
Reference in New Issue
Block a user