26 lines
584 B
YAML
Raw Normal View History

2014-06-04 19:03:58 +04:00
---
2015-02-17 15:01:36 +06:00
- include: install.deb.yml
when: ansible_os_family == 'Debian'
tags: [mongodb]
2015-02-17 15:01:36 +06:00
- include: configure.yml
tags: [mongodb]
2015-02-17 15:01:36 +06:00
- include: replication_init_auth.yml
when: ( mongodb_conf_replSet is defined and mongodb_conf_auth
and mongodb_master is defined and mongodb_master )
tags: [mongodb]
2015-02-17 15:01:36 +06:00
- include: replication.yml
when: mongodb_conf_replSet is defined
tags: [mongodb]
- include: auth_initialization.yml
when: mongodb_conf_auth and not mongodb_conf_replSet
tags: [mongodb]
2015-02-17 15:01:36 +06:00
- include: mms-agent.yml
when: mongodb_mms_api_key != ""
tags: [mongodb]