mongos
Install MongoS
This role can be used to install MongoDB.org mongos.
Requirements
None.
Role Variables
There is one main variable that drives this role: _mongos
. It is a map that contains all configuration and settings for this role.
Please see defaults/main.yml
for details.
Dependencies
None.
Example Playbook
The general contract of this role is to take the variables map _mongos
from defaults/main.yml
as a template for your configuration and pass that configuration as a parameter to this role.
Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:
- hosts: servers
var:
MONGOS
...
roles:
- { role: mongos, tags: [ 'mongos' ], _mongos: "{{ MONGOS }}" }
License
Please see LICENSE.
Author Information
Original author is Daniel Schneller as member of the Rheinwerk project.