mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-01-22 11:08:52 +00:00
Merge pull request #29 from dluksza/patch-2
Ensure /data/db directory on debina
This commit is contained in:
commit
d3f3cd7c01
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user