Skip to content

Commit

Permalink
Merge pull request #29 from dluksza/patch-2
Browse files Browse the repository at this point in the history
Ensure /data/db directory on debina
  • Loading branch information
UnderGreen committed Jul 30, 2015
2 parents 53b969c + 8500b9b commit d3f3cd7
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tasks/install.deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
apt_repository: repo="{{mongodb_repository}}" update_cache=yes
when: '"mongodb-org" in mongodb_package'

- name: Endure /data directory
file: path=/data/db state=directory owner=mongodb recurse=yes

- name: Install MongoDB package
apt: name={{item}} state=present
with_items:
Expand Down

0 comments on commit d3f3cd7

Please sign in to comment.