0Pricing
Ansible Academy · Lesson

From Ad-Hoc to a Repeatable Playbook

Turn commands into a saved YAML file.

Ad-Hoc Commands Vanish

An ad-hoc command runs once and is gone. It is great for quick checks, but it leaves no record of what you did.

ansible web -m service -a "name=nginx state=started"

A Playbook Is Saved Work

A playbook writes that same intent into a YAML file. You commit it, share it, and run it again whenever you need.

All lessons in this course

  1. YAML Syntax You Need for Ansible
  2. From Ad-Hoc to a Repeatable Playbook
  3. Run It with ansible-playbook
  4. Install Nginx in Five Lines
← Back to Ansible Academy