Member-only story

Ansible terminology — What is an Ansible Playbook?

A step-by-step guide inside the Ansible Playbook anatomy: play, tasks, modules, conditional, loop, handler, variable, list.

Luca Berton
4 min readOct 12, 2022

What is an Ansible Playbook?

I will show you a live demo with some simple Ansible code.

I’m Luca Berton, and welcome to today’s episode of Ansible Pilot.

Ansible Playbook

  • blueprint for automation
  • YAML format
  • Ansible language

The Ansible Playbook is the blueprint for your automation. The Ansible Playbook enables you to execute any, again again, operation in a specified order.

It’s like a recipe book for someone who likes to cook a cake. Every ingredient needs to be added in a specific order at a particular moment of the execution.

The code is human-readable in YAML format, a well-known easy-to-read coding format. Every line of coding is the Ansible language that is changed a little bit yearly, but the principles are always the same.

--

--

Luca Berton
Luca Berton

Written by Luca Berton

I help creative Automation DevOps, Cloud Engineer, System Administrator, and IT Professional to succeed with Ansible Technology to automate more things everyday

No responses yet