mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-03-02 21:50:28 +00:00
Support new variable and due to difference between Debian/Ubuntu repo and MongoDB, daemon and file convention naming are differents.
14 lines
281 B
YAML
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 != ""
|