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.
13 lines
310 B
13 lines
310 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
|
|
|