Install MongoDB on Centos/Red Hat/Fedora
-
Clone this repository inside your
roles
directory or add as submodule:git submodule add [email protected]:Vinelab/ansible-mongodb roles/mongodb
-
In your playbook:
roles:
- mongodb
vars:
mongodb:
dbpath: /var/lib/mongo