Deploy MongoDB.
MongoDB is installed from the official MongoDB repositories. A MongoDB version can be specify in mongodb_version
. Pymongo is also installed as a dependency using PIP.
See meta/main.yml
.
Authentication is managed in a separate admin
database. The admin user credentials are set in mongodb_admin_user
and mongodb_admin_pass
.
A list of users can be specified in mongodb_users
. See defaults/main.yml
for more details.
Depends on EPEL repository being present to install python-pip
(ie role geerlingguy.repo-epel
).
Example:
- hosts: servers
roles:
- geerlingguy.repo-epel
- mongodb
- Select mongodb version to install.
Released under the MIT license.
Luis Gracia while at EMBL-EBI: