Ansible playbooks

Playbooks are simply a set 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 ensure 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 defined a workflow ...

Get Practical Network Automation now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.