mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +00:00
try removing prealloc files later, to catch them all
This commit is contained in:
parent
8093798210
commit
eb2550141b
1 changed files with 5 additions and 5 deletions
|
@ -8,11 +8,6 @@
|
|||
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 }}
|
||||
|
@ -50,6 +45,11 @@
|
|||
- { name: mongodb }
|
||||
when: not mongodb_enabled
|
||||
|
||||
# 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: add mongodb to service list
|
||||
ini_file: dest='{{ service_filelist }}'
|
||||
section=mongodb
|
||||
|
|
Loading…
Reference in a new issue