1
0
Fork 0
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:
A Holt 2017-10-18 18:36:35 -04:00 committed by GitHub
parent 8093798210
commit eb2550141b

View file

@ -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