Ansible playbooks
Playbooks are simply sets of instructions that we create for Ansible to configure, deploy, and manage the nodes. These act as guidelines, using Ansible to perform a certain set of tasks on individuals or groups. Think of Ansible as your drawing book, playbooks as your colors, and managed nodes as the picture. Taking that example, playbooks decides what color needs to be added to which part of the picture, and the Ansible framework performs the task of executing the playbook for the managed nodes.
Playbooks are written in a basic text language referred to as YAML Ain't Markup Language (YAML). Playbooks consist of configurations to perform certain tasks on managed nodes. Additionally, playbooks are used to define a workflow ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access