mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 03:32:12 +00:00
"when: not mongodb_enabled" added back
This commit is contained in:
parent
48b30cc8a7
commit
942bb4a18b
1 changed files with 2 additions and 0 deletions
|
@ -52,12 +52,14 @@
|
|||
paths: /var/lib/mongodb/journal
|
||||
patterns: prealloc.*
|
||||
register: files_to_delete
|
||||
when: not mongodb_enabled
|
||||
|
||||
- name: delete prealloc files
|
||||
file:
|
||||
path: "{{ item.path }}"
|
||||
state: absent
|
||||
with_items: "{{ files_to_delete.files }}"
|
||||
when: not mongodb_enabled
|
||||
|
||||
- name: add mongodb to service list
|
||||
ini_file: dest='{{ service_filelist }}'
|
||||
|
|
Loading…
Reference in a new issue