guides/Creating-new-playbook.md

16 lines
559 B
Markdown
Raw Permalink Normal View History

2020-07-15 07:52:27 +00:00
#New playbook
2020-07-16 06:13:58 +00:00
##### Create new playbook only if you see there is an independent task that must be performed on node
2020-07-15 07:52:27 +00:00
**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