Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ricaragao/ansible-mongodb-replicaset
Ansible playbook to install and configure MongoDB ReplicaSet on Ubuntu 18.04
https://github.com/ricaragao/ansible-mongodb-replicaset
ansible ansible-playbook install mongodb replicaset ubuntu
Last synced: about 1 month ago
JSON representation
Ansible playbook to install and configure MongoDB ReplicaSet on Ubuntu 18.04
- Host: GitHub
- URL: https://github.com/ricaragao/ansible-mongodb-replicaset
- Owner: ricaragao
- License: mit
- Created: 2019-08-03T04:27:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-08-03T06:52:32.000Z (over 5 years ago)
- Last Synced: 2023-10-31T07:33:11.342Z (about 1 year ago)
- Topics: ansible, ansible-playbook, install, mongodb, replicaset, ubuntu
- Homepage:
- Size: 7.81 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Introduction
This is a Ansible playbook for create a Mongodb replicaset on Ubuntu 18.
## Configuration
*hosts*:
```
[mongo_servers]
ubuntu-node-01
ubuntu-node-02[mongo_main_server]
ubuntu-node-01[mongo_secondaries_servers]
ubuntu-node-02
```## Execute
Inside of playbook path, execute:
```
# ansible-playbook -i hosts site.yml --ask-become-pass -k
```This above command ask for password. If you don't need password, remove -k parameter.