16 lines
559 B
Markdown
16 lines
559 B
Markdown
#New playbook
|
|
|
|
##### Create new playbook only if you see there is an independent task that must be performed on node
|
|
|
|
**Content of playbook**
|
|
|
|
1. Host
|
|
Mention all nodes of which you want this playbook to run
|
|
2. Vars
|
|
If you want to use any variables in current playbook you may introduce them here
|
|
3. Tasks
|
|
Series of tasks can be provided but, it is recommended to add tasks in Roles and use those roles in current playbook
|
|
4. Roles
|
|
Roles are to be created when we have found a sub independent task and those roles can become part of playbook
|
|
|