Skip to content

de-mongo/setup

Repository files navigation

SETUP mongodb on kubernetes

setup the inventory file

Steps:

  1. first install the aws cli
  2. configure credentials in the default profile
  3. Use this below code as inventory file
plugin: aws_ec2
regions:
  - us-east-1
filters:
  # All instances with their state as `running`
  instance-state-name: running
keyed_groups:
  - key: tags
    prefix: tag
hostnames:
  - ip-address

Install kubernetes and mongodb in it

now run the below commands

ansible-playbook main.yaml
ansible-playbook configure.yaml

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published