Description:
- Each playbook contains a list of plays that run in order from top to bottom
- https://docs.ansible.com/ansible/latest/playbook_guide/playbooks.html
Plays:
- Each play defines a list of tasks and a list of hosts that these tasks run on
- The Play contains variables, roles and an ordered lists of tasks and can be run repeatedly.
Roles:
- A limited distribution of reusable Ansible content (tasks, handlers, variables, plugins, templates and files) for use inside of a Play.
- To use any Role resource, the Role itself must be imported into the Play.
Task:
- Each task defines how a module is executed in order to achieve a given goal