From 348c874f494d9b85c3b52df3b589fcd829434a4b Mon Sep 17 00:00:00 2001 From: Adam Snodgrass Date: Thu, 3 Sep 2015 14:48:56 -0400 Subject: [PATCH] Use mongodb_conf_dbpath rather than a hard-coded path name --- tasks/install.deb.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasks/install.deb.yml b/tasks/install.deb.yml index 0102177..b47d155 100644 --- a/tasks/install.deb.yml +++ b/tasks/install.deb.yml @@ -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