mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-02-26 03:35:29 +00:00
Use mongodb_conf_dbpath rather than a hard-coded path name
This commit is contained in:
parent
c5e2a1f70a
commit
348c874f49
@ -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