mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 11:42:08 +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
|
paths: /var/lib/mongodb/journal
|
||||||
patterns: prealloc.*
|
patterns: prealloc.*
|
||||||
register: files_to_delete
|
register: files_to_delete
|
||||||
|
when: not mongodb_enabled
|
||||||
|
|
||||||
- name: delete prealloc files
|
- name: delete prealloc files
|
||||||
file:
|
file:
|
||||||
path: "{{ item.path }}"
|
path: "{{ item.path }}"
|
||||||
state: absent
|
state: absent
|
||||||
with_items: "{{ files_to_delete.files }}"
|
with_items: "{{ files_to_delete.files }}"
|
||||||
|
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 }}'
|
||||||
|
|
Loading…
Reference in a new issue