Understand Ansible Playbooks. By now,
you know that an Ansible Playbook is a YAML format file that
defines tasks for managing IT infrastructure. Within a single
playbook, you have one or more plays, and those plays could be
dependent or independent.
Normally they'll run in parallel by Ansible. Modules within
those plays are the unit of execution.
And we know that there's a large Ansible‑provided built‑in library.
You can find those same built‑ins and community contributions at Galaxy.
And you can use Python to create your own custom modules.
Roles are an abstraction unit above modules.
They allow you to bundle related playbooks in a single concept.
I know that's a little bit nebulous of a description.
We're going to deep dive into roles in an upcoming lesson.
Basically, the goal of the Ansible Playbook is to simplify your management,
automate tasks, and avoid human error.