Free Ansible tutorials get you to your first playbook in an afternoon. What they rarely give you is the mental model: why roles are shaped the way they are, when a collection beats a bare module call, how to test automation before it touches production, and what an actual enterprise rollout looks like. That is the gap a good book closes, and the Ansible shelf in 2026 has a handful of titles genuinely worth the money next to a growing pile of print-mill junk that is not.
I went through every pick here in August 2026, checking editions, ISBNs, and what each book actually covers against the publisher catalogs. Prices move around, so treat the figures below as bands.
We used to bundle these picks into a combined Docker and Ansible book roundup. Ansible deserves its own list now, so this is the dedicated one: seven books covering the full arc from first playbook to RHCE certification and Ansible Automation Platform administration. If you want the short version: Ansible for DevOps is the best overall pick for most people, Ansible: Up and Running is the strongest structured deep read, and Learn Ansible is the most current general title on the shelf. Details on all seven below, plus the honest reasons to skip each one.
The seven picks at a glance
Every book here was checked against its publisher catalog for edition and currency. The year column matters more than usual with Ansible because the collections restructure made older books actively misleading, which is covered in the buying advice further down.
| Book | Year | Best for |
|---|---|---|
| Ansible for DevOps, 2nd Edition | 2020 (ebook updated continuously) | Best overall, learning by doing |
| Ansible: Up and Running, 3rd Edition | 2022 | Structured deep read and desk reference |
| Learn Ansible, 2nd Edition | 2024 | Most current, cloud and CI focus |
| Ansible for Real-Life Automation | 2022 | Turning syntax knowledge into real ops automation |
| Ansible for Kubernetes by Example | 2023 | Kubernetes teams automating clusters |
| Demystifying Ansible Automation Platform | 2022 | AAP and Tower administrators |
| Red Hat RHCE 8 (EX294) Cert Guide | 2020 | RHCE exam prep, paired with current objectives |
1. Ansible for DevOps, 2nd Edition
Jeff Geerling’s book has been the community’s default recommendation for a decade, and it earned that. It teaches Ansible the way you actually learn it: by automating real things, starting with a single server and ending with multi-tier app deployments, container builds, and Kubernetes orchestration.
Geerling maintains most of the Ansible roles half the internet installs from Galaxy, and it shows in the examples: they are the patterns he ships, not toy demos. The book walks through inventories, playbook fundamentals, Vault, dynamic inventories against cloud APIs, and full application deployment pipelines. The gotcha here is the print edition: the paperback is the 2020 second edition, while the ebook gets rolling updates on LeanPub whenever Ansible moves. Buy the ebook if you want the freshest text, the paperback if you want a desk copy and can tolerate a few dated module references.
Skip it when you need formal, reference-style coverage of every subsystem. This is a practitioner’s book with a practitioner’s structure. The paperback typically runs under $25, one of the cheapest real books on this list. Check the current price on Amazon.
2. Ansible: Up and Running, 3rd Edition
The O’Reilly cow book is the structured counterpart to Geerling’s build-as-you-go style. The third edition was rewritten for the collections era, which matters: module organization, fully qualified collection names, and the split between ansible-core and the community package are exactly the things older Ansible books get wrong.

Meijer, Hochstein and Moser go deeper on the internals than anything else in print: how the connection plugins work, what callback plugins can do, custom module development, and performance tuning for large inventories. It doubles as the book you reach for when a role structure decision or a templating edge case needs a definitive answer rather than a forum thread.
The trade-off is pace. It reads like a manual, and beginners who want quick wins will find the first hundred pages slower than Geerling’s. Best suited to engineers who already run some automation and want to actually understand the machine. Expect the $50 to $60 O’Reilly band, and check the current price on Amazon.
3. Learn Ansible, 2nd Edition
Russ McKendrick’s second edition landed in May 2024, which makes it the most current general-purpose Ansible book from a major publisher. If buying the newest viable text matters to you, this is that pick.
The angle is cloud-first. At 414 pages it moves from playbook basics into provisioning AWS and Azure infrastructure, hardening configurations, deploying applications, and wiring Ansible into CI pipelines so runs happen on commit instead of from someone’s laptop. That last part is the section most older books simply do not have, and it reflects how teams actually run Ansible now.
The right reader here is someone building cloud infrastructure who wants one book covering the whole workflow. Skip it if you want deep internals (that is the cow book’s job) or if your world is on-prem RHEL, where the Red Hat-flavored picks below fit better. Usually in the $40 to $50 range; check the current price on Amazon.
4. Ansible for Real-Life Automation
Plenty of people can write a playbook and still stall on the harder question: what do I automate first, and how do I sell the time investment to my team? Gineesh Madapparambath’s book is built around that question, which makes it unusual and useful.
Across 395 pages it works through the scenarios an ops team actually owns: VM lifecycle on VMware, network device configuration, database tasks, patching runs, security remediation, and wiring Ansible into Jenkins. Each chapter is a use case rather than a feature tour, so you finish with a backlog of automation ideas mapped to your own environment. It pairs naturally with a quick-reference like our Ansible cheat sheet once you start building.
Buy it if you are the person tasked with bringing automation into an existing shop. Skip it as a first book; it assumes you can already read a playbook without squinting. Typically $40 to $50, and check the current price on Amazon.
5. Ansible for Kubernetes by Example
Ansible and Kubernetes are usually taught as separate worlds, and the glue between them lives in scattered blog posts. Luca Berton, who spent years on Red Hat’s Ansible engineering side, put that glue in one place.
The 308 pages cover automating pods, services, and storage through the Kubernetes collection, managing cluster lifecycle, and driving managed offerings on EKS, GKE and AKS from playbooks. Every example has a companion repo on GitHub, so you can run the code rather than retype it. If you have ever deployed a Kubernetes cluster with Ansible by hand-rolling the plays, this book systematizes what you improvised.
It fits platform engineers who own both config management and clusters. Skip it entirely if Kubernetes is not in your stack; nothing here is general-purpose Ansible teaching. Usually in the $40 to $55 Apress band. Check the current price on Amazon.
6. Demystifying Ansible Automation Platform
Everything above covers Ansible the engine. Sean Sullivan’s book covers Ansible the product: Automation Platform, the controller formerly known as Tower, and the operational questions (RBAC, credentials, job templates, workflows) that appear the moment more than one team shares the automation.
It remains the only substantial book on the platform, and most of it transfers directly to AWX if you run the upstream project in a homelab. Fair warning on currency: it was written against early Automation Platform 2.x, and Red Hat has since shipped the unified console, so screenshots and navigation will not always match what you see today. The concepts (execution environments, controller objects, the Tower migration logic) hold up.
Buy it if you administer AAP or AWX for a living. Skip it if you only run ansible-core from the CLI, where it answers questions you do not have. Around $45 to $55 typically; check the current price on Amazon.
7. Red Hat RHCE 8 (EX294) Cert Guide
The RHCE exam is an Ansible exam now, and Sander van Vugt’s cert guide is still the print prep everyone uses. One thing to know before buying: Red Hat currently delivers EX294 on RHEL 9, and no major publisher has shipped a RHEL 9 print edition. Van Vugt covers the RHEL 9 exam through his video courses instead.
That matters less than it sounds. The exam’s core is writing working playbooks, roles, and collections under time pressure, and that content barely changed between the RHEL 8 and RHEL 9 versions of the objectives. The book’s structure is built for the format: labs, four practice exams (two in the book, two more on the companion site), flashcards, and end-of-chapter reviews. Cross-check the current EX294 objectives as you study and you are covered.
This one is for exam candidates, full stop. As a general learning book it is drier than everything above, because it optimizes for passing. Usually $40 to $55; check the current price on Amazon.
What to check before buying any Ansible book
Ansible books age in a specific way, and knowing it saves you from bad purchases beyond this list.
The dividing line is the collections restructure. Books written before it teach flat module names and a monolithic install; everything since uses fully qualified collection names and the ansible-core plus collections split. A pre-2021 book will still teach you valid YAML, but the module paths, install instructions, and packaging advice will fight the documentation at every step. All seven picks above sit on the right side of that line.
Second, match the book to the Ansible you run. Playbooks on a laptop, ansible-core from a distro repo (our Ansible install guide covers that path), AWX in a homelab, and licensed AAP in an enterprise are four different worlds, and no single book serves all of them. That is why this list has seven entries instead of one winner.
Third, this shelf has a counterfeit problem. Amazon’s Ansible category is thick with print-on-demand titles from publishers you have never heard of, stitched together fast and padded with generated text. The tell is an author with no community footprint: no GitHub, no talks, no blog, no Galaxy roles. Every author above has a public track record you can verify in thirty seconds.
A reading path that actually works
In my homelab years I read these out of order and paid for it, so here is the sequence I would give a colleague. Start with Geerling or McKendrick depending on whether your infrastructure is on-prem or cloud; both get you writing useful automation in a week. Keep Up and Running next to you as the reference you consult when something behaves strangely. Once your playbooks work, Real-Life Automation turns them into an actual program of work rather than a folder of scripts.
Then specialize. Kubernetes shops go to Berton, AAP and AWX admins to Sullivan, and anyone chasing the certification pairs van Vugt with the live exam objectives. Whichever branch you take, put the book down regularly and automate something real, even if it is just event-driven remediation on a test VM. The books teach faster when a broken playbook is forcing the questions.





