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

11 lines
275 B
YAML

---
- name: mongodb reload
service: name={{ mongodb_daemon_name }} state=reloaded
- name: mongodb restart
service: name={{ mongodb_daemon_name }} state=restarted
- name: mongodb-mms-automation-agent restart
service: name=mongodb-mms-automation-agent state=restarted