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.
11 lines
311 B
11 lines
311 B
---
|
|
#This playbook is used to add a new node the mongodb cluster
|
|
|
|
- hosts: mongoservers
|
|
- hosts: replicationservers
|
|
- hosts: mongosservers
|
|
- hosts: ${servername}
|
|
tasks:
|
|
- include: ../roles/common/tasks/main.yml
|
|
- include: ../roles/mongod/tasks/main.yml
|
|
- include: ../roles/mongod/tasks/addshard.yml
|
|
|