Skip to content

Install and Configure MongoDB Sharded with Ansible on Ubuntu / Debian and CentOS / RedHat

Notifications You must be signed in to change notification settings

NexiaMoe/ansible-mongodb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible MongoBD Sharded

This ansible are from tutorial mydbops

Usage

Edit the hosts node, replicacfg and standalone, also generate ssh cert for authentication ssh, place it on root dir. Then run command

ansible-playbook site.yml -i hosts -K

-K is for sudo password (Ubuntu or Debian)

If want to change mongodb/mongos port edit on group_vars/all

Operating System

This ansible work with Ubuntu (Maybe debian too), and CentOS / RHEL

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

About

Install and Configure MongoDB Sharded with Ansible on Ubuntu / Debian and CentOS / RedHat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published