1
0
Fork 0
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:
A Holt 2017-10-18 22:00:13 -04:00 committed by GitHub
parent 48b30cc8a7
commit 942bb4a18b

View file

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