You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
ansible-role-nginx/mongodb/playbooks/addnode.yml

13 lines
322 B

---
#This playbook is used to add a new node the mongodb cluster
- hosts: all
tasks:
- include: ../roles/common/tasks/main.yml
handlers:
- include: ../roles/common/handlers/main.yml
- hosts: ${servername}
tasks:
- include: ../roles/mongod/tasks/main.yml
- include: ../roles/mongod/tasks/addshard.yml