mongodb.yml -> main.yml

This commit is contained in:
Sergei Antipov 2015-02-17 15:01:36 +06:00
parent 5c04b2c8bb
commit 30c2bc37c4
2 changed files with 10 additions and 22 deletions

View File

@ -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 != ""

View File

@ -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 != ""