Skip to content

Instantly share code, notes, and snippets.

View mukeshmodiindia's full-sized avatar

Mukesh kumar mukeshmodiindia

View GitHub Profile
@mukeshmodiindia
mukeshmodiindia / README.md
Last active January 20, 2024 03:48
Deploy Percona Server for MongoDB Replica set with Ansible

Deploy the MongoDB Replica set using Ansible.

Pre-requisite:

Make sure to add hosts entries in /etc/hosts in all mongod instance. Verify whether it's reachable, i.e within network. Check it with ping or telnet. ping hostname/ip telnet hostname/ip mongo_port Quick guide

Adjust the hosts details in inventory. Adjust the global variables in group_vars/all