ansible-role-mongodb/tasks/mongodb.yml

14 lines
281 B
YAML
Raw Normal View History

2014-06-04 15:03:58 +00:00
---
- include: install.deb.yml
when: ansible_os_family == 'Debian'
2014-11-11 14:20:39 +00:00
- include: configure.yml
2014-06-09 08:59:15 +00:00
- name: Ensure mongodb is started
service: name={{ mongodb_daemon_name }} state=started enabled=yes
2014-09-02 22:14:06 +00:00
changed_when: False
2014-12-19 14:39:09 +00:00
- include: mms-agent.yml
when: mongodb_mms_api_key != ""