Guillaume Dedrie 8769e8a411 Add possibility for User to install from Official Debian or Ubuntu Repo.
Support new variable and due to difference between Debian/Ubuntu repo and MongoDB, daemon and file convention naming are differents.
2015-01-05 14:42:40 +01:00

14 lines
281 B
YAML

---
- include: install.deb.yml
when: ansible_os_family == 'Debian'
- include: configure.yml
- name: Ensure mongodb is started
service: name={{ mongodb_daemon_name }} state=started enabled=yes
changed_when: False
- include: mms-agent.yml
when: mongodb_mms_api_key != ""