Backend & Infrastructure

Best Ansible Books

10books
2top picks

Editor's top Ansible books

2
BeginnerPaid★ Top Pick

Ansible: Up and Running

O'Reilly

The standard Ansible reference book, now in its 3rd edition. Covers everything from basic playbooks to roles, dynamic inventory, testing with Molecule, and CI/CD integration.

Cover of Mastering Ansible, 4th Edition
AdvancedPaid★ Top Pick

Mastering Ansible, 4th Edition

James Freeman, Jesse Keating · Packt · 540 pages · ~14 hrs to read

The advanced-tier companion to Ansible: Up and Running — custom modules and plugins, complex orchestration, and performance tuning for large inventories, now in its 4th edition.

Ansible Books for Beginners

4
BeginnerPaid★ Top Pick

Ansible: Up and Running

O'Reilly

The standard Ansible reference book, now in its 3rd edition. Covers everything from basic playbooks to roles, dynamic inventory, testing with Molecule, and CI/CD integration.

Cover of Learn Ansible, 2nd Edition
BeginnerPaid

Learn Ansible, 2nd Edition

Russ McKendrick · Packt · 414 pages · ~10 hrs to read

A 2024 refresh from a long-time DevOps practitioner — takes you from writing your first playbook to launching multi-tier applications on AWS and Azure. The most current beginner-friendly option here.

Cover of Ansible Playbook Essentials
BeginnerPaid

Ansible Playbook Essentials

Gourav Shah · Packt · 168 pages · ~4 hrs to read

A tight, focused introduction to plays, tasks, handlers, and data-driven playbooks with variables and templates. Older (2015) so skip the cloud-provider chapters in favour of current docs, but the core playbook-authoring content still holds up.

Cover of Ansible Configuration Management, 2nd Edition
BeginnerPaid

Ansible Configuration Management, 2nd Edition

Daniel Hall · Packt · 92 pages · ~2 hrs to read

A short, no-frills tutorial for Linux sysadmins moving from manual server configuration to Ansible for the first time — dynamic inventory and custom modules/plugins get a brief but clear treatment.

Intermediate & Advanced Ansible Books

6
Cover of Ansible for DevOps
IntermediatePaid

Ansible for DevOps

Jeff Geerling · 452 pages · ~11 hrs to read

Written by the most prolific Ansible content creator in the community. Practical, opinionated, and full of real-world examples. Jeff Geerling is a Red Hat Ansible contributor — this is widely considered the best practical Ansible book.

Cover of Mastering Ansible, 4th Edition
AdvancedPaid★ Top Pick

Mastering Ansible, 4th Edition

James Freeman, Jesse Keating · Packt · 540 pages · ~14 hrs to read

The advanced-tier companion to Ansible: Up and Running — custom modules and plugins, complex orchestration, and performance tuning for large inventories, now in its 4th edition.

Cover of Practical Ansible, 2nd Edition
IntermediatePaid

Practical Ansible, 2nd Edition

James Freeman, Fabio Alessandro Locati, Daniel Oh · Packt · 420 pages · ~11 hrs to read

Co-authored by a Red Hat principal technical marketing manager. Covers infrastructure automation, configuration management, and application deployment with an emphasis on patterns you'll actually run in production rather than toy examples.

Cover of Ansible: The Practical Guide to Automating Configuration, Deployment, and Orchestration
IntermediatePaid

Ansible: The Practical Guide to Automating Configuration, Deployment, and Orchestration

Axel Miesen · Rheinwerk Computing0

German technical-publisher rigor applied to Ansible — playbooks, modules, and roles built up methodically with downloadable configs to follow along, plus dedicated coverage of declarative vs. imperative configuration management on cloud targets.

Cover of Ansible for Real-Life Automation
IntermediatePaid

Ansible for Real-Life Automation

Gineesh Madapparambath · Packt · 480 pages · ~12 hrs to read

Written by an IT automation consultant with 15+ years in the field. Organised around real use cases — Windows automation, network devices, container platforms, AWS/GCP/VMware — plus a solid introduction to Ansible Automation Platform.

Cover of Demystifying Ansible Automation Platform
AdvancedPaid

Demystifying Ansible Automation Platform

Sean Sullivan · Packt · 314 pages · ~8 hrs to read

Written by a Red Hat consultant who has run AAP/Tower deployments at scale. The book to reach for once ad-hoc playbooks stop being enough and you need role-based access, job scheduling, and execution environments across a team.