2019-07-08 21:41:42 +00:00
|
|
|
# 2019-07-08: mongodb_install is completely ignored. FYI mongodb_enabled: False
|
|
|
|
# works but is ineffective, as Sugarizer starts mongodb's systemd svc on its own
|
2019-07-08 21:23:39 +00:00
|
|
|
|
|
|
|
- name: Install 'mongodb' if not Debian 10+
|
|
|
|
include_tasks: install.yml
|
2019-10-14 17:18:16 +00:00
|
|
|
when: not ((is_debian and not is_raspbian) and (not is_debian_8) and (not is_debian_9)) and not mongodb_installed is defined
|
|
|
|
|
|
|
|
- name: Enable 'mongodb' if not Debian 10+
|
|
|
|
include_tasks: enable.yml
|
|
|
|
when: not ((is_debian and not is_raspbian) and (not is_debian_8) and (not is_debian_9)) or mongodb_installed is defined
|
|
|
|
|