mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +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:
|
tags:
|
||||||
- download
|
- 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
|
- name: create the data directory for mongodb
|
||||||
file: state=directory
|
file: state=directory
|
||||||
path={{ item.path }}
|
path={{ item.path }}
|
||||||
|
@ -50,6 +45,11 @@
|
||||||
- { name: mongodb }
|
- { name: mongodb }
|
||||||
when: not mongodb_enabled
|
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
|
- name: add mongodb to service list
|
||||||
ini_file: dest='{{ service_filelist }}'
|
ini_file: dest='{{ service_filelist }}'
|
||||||
section=mongodb
|
section=mongodb
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue