1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-02-13 11:42:08 +00:00

rm /var/lib/mongodb/journal/prealloc.*

This commit is contained in:
A Holt 2017-10-18 17:20:20 -04:00 committed by GitHub
parent f9eef63af5
commit 8093798210

View file

@ -8,6 +8,11 @@
tags:
- download
# See https://github.com/iiab/iiab/issues/254 for other attempts to eliminate these 256MB files
- name: remove journal prealloc files
shell: rm /var/lib/mongodb/journal/prealloc.*
when: not mongodb_enabled
- name: create the data directory for mongodb
file: state=directory
path={{ item.path }}
@ -17,7 +22,6 @@
- { path: '/library/dbdata/mongodb' }
- { path: '/var/log/mongodb' }
- name: Create systemd files
template: src={{ item.src }}
dest={{ item.dest }}
@ -38,7 +42,6 @@
- { name: mongodb }
when: mongodb_enabled
- name: disable services
service: name={{ item.name }}
enabled=no