mirror of
https://github.com/status-im/ansible-role-mongodb.git
synced 2025-02-17 15:36:23 +00:00
mongodb.yml -> main.yml
This commit is contained in:
parent
5c04b2c8bb
commit
30c2bc37c4
@ -1,5 +1,12 @@
|
||||
---
|
||||
|
||||
- include: mongodb.yml
|
||||
when: mongodb_enabled
|
||||
tags: [mongodb]
|
||||
- include: install.deb.yml
|
||||
when: ansible_os_family == 'Debian'
|
||||
|
||||
- include: configure.yml
|
||||
|
||||
- include: replication.yml
|
||||
when: mongodb_conf_replSet != ""
|
||||
|
||||
- include: mms-agent.yml
|
||||
when: mongodb_mms_api_key != ""
|
||||
|
@ -1,19 +0,0 @@
|
||||
---
|
||||
|
||||
- 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: authorization.yml
|
||||
when: mongodb_conf_auth == "yes"
|
||||
|
||||
- include: replication.yml
|
||||
when: mongodb_conf_replSet != ""
|
||||
|
||||
- include: mms-agent.yml
|
||||
when: mongodb_mms_api_key != ""
|
Loading…
x
Reference in New Issue
Block a user