Skip to content

Commit

Permalink
Merge pull request #33 from dluksza/master
Browse files Browse the repository at this point in the history
Fixes for /data directory
  • Loading branch information
UnderGreen committed Aug 20, 2015
2 parents 96c609e + 9d98bc0 commit 4f0c133
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tasks/install.deb.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,15 @@
- name: Add APT repository
apt_repository: repo="{{mongodb_repository}}" update_cache=yes

- 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:
- "{{mongodb_package}}"
- numactl

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

- name: reload systemd
shell: systemctl daemon-reload
changed_when: false
Expand Down

0 comments on commit 4f0c133

Please sign in to comment.