mirror of
https://github.com/iiab/iiab.git
synced 2025-02-13 19:52:06 +00:00
11 lines
558 B
YAML
11 lines
558 B
YAML
# 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
|
|
|
|
- name: Install 'mongodb' if not Debian 10+
|
|
include_tasks: install.yml
|
|
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
|
|
|