1
0
Fork 0
mirror of https://github.com/iiab/iiab.git synced 2025-03-09 15:40:17 +00:00

Mostly var cleanup across ~80 files

This commit is contained in:
root 2020-01-30 04:00:00 -05:00
parent a6112381a3
commit 814efd5a02
88 changed files with 679 additions and 260 deletions

View file

@ -128,9 +128,10 @@
- { src: 'iiab-mongodb-repair-if-no-lock.j2', dest: '/usr/bin/iiab-mongodb-repair-if-no-lock', mode: '0755' }
3. RECORD MongoDB AS INSTALLED
# 3. RECORD MongoDB AS INSTALLED
- set_fact:
- name: "Set 'mongodb_installed: True'"
set_fact:
mongodb_installed: True
- name: "Add 'mongodb_installed: True' to {{ iiab_state_file }}"

View file

@ -23,10 +23,7 @@
when: (is_debian and not is_raspbian) and (not is_debian_8) and (not is_debian_9)
# 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+
- name: Install MongoDB if 'mongodb_installed' not defined, e.g. in {{ iiab_state_file }} # /etc/iiab/iiab_state.yml
include_tasks: install.yml
when: mongodb_installed is undefined