Skip to product information
Modern Infrastructure Automation

Modern Infrastructure Automation Building Production-Ready Pipelines with Bash, Ansible and Python

Sale price  $53.99 Regular price  $59.99

Reliable shipping

Flexible returns

Modern Infrastructure Automation

Building Production-Ready Pipelines with Bash, Ansible and Python

Neville Asiago Ondara

Computers / Programming / Open Source

Infrastructure automation is rarely clean or uniform. In real production environments, teams inherit legacy Bash scripts, introduce Python to manage APIs and complex logic, and eventually adopt configuration management tools like Ansible to enforce consistency. While each of these tools is powerful on its own, combining them without a clear strategy often leads to fragile automation, duplicated logic, and systems that are difficult to debug or maintain. This book addresses this reality head-on. Instead of teaching Bash, Python, and Ansible in isolation, this book presents a hybrid, scenario-driven approach to automation design. It focuses on decision-making, when to use each tool, how to integrate them cleanly, and how to evolve automation as systems grow in complexity.

Modern Infrastructure Automation introduces the concept of automation “playbooks”: practical, reusable patterns for solving real operational problems such as deployments, health checks, incident response, and recovery workflows. Each playbook demonstrates how Bash can serve as a fast, ubiquitous glue logic; how Python can handle structured data, APIs, and complex control flow; and how Ansible can enforce desired state and convergence across systems.

Rather than present best-case scenarios, the examples reflect messy, real-world conditions: partial failures, legacy scripts and operational constraints. Readers will learn how to recognize when a Bash script has reached its limits, how to refactor logic into Python without rewriting everything, and how to introduce Ansible without over-engineering simple tasks. By the end of the book, you will be able to design automation systems that are modular, understandable, and production-ready; automation that survives real operational pressure rather than collapsing under it.

You Will Learn:

  • How to choose the right automation tool (Bash, Python, or Ansible) based on task complexity and lifecycle
  • How to design hybrid automation workflows that integrate multiple tools cleanly
  • When and how to refactor fragile scripts into maintainable, modular systems
  • Practical patterns for deployment, monitoring, and incident-response automation
  • How to build automation that remains understandable and maintainable by teams over time

This Book is For:

This book is written for system administrators, DevOps engineers, site reliability engineers (SREs), and infrastructure-focused software engineers who work with Linux-based systems.

Readers should have familiarity with Linux command-line usage and at least introductory exposure to scripting or automation tools.

Neville Asiago Ondara is a veteran DevOps practitioner with over a decade of experience managing production environments across cloud, on-premises, and hybrid infrastructures. He began his career as a Linux system administrator and gradually transitioned into DevOps, specializing in production-grade automation that balances speed, reliability and long-term maintainability.

Neville is the author of Beginning Linux SysAdmin (Apress) and a frequent contributor to technical publications including LinuxBuzz, Linux Handbook, Tutorialspoint, It’s FOSS, and Linux Magazine. His writing focuses on practical, experience-driven guidance that helps engineers bridge the gap between theoretical knowledge and the realities of operating systems at scale. Throughout his career, Neville has worked extensively with Bash, Python, and Ansible in high-stakes production environments. 


Publication Date: 11 January 2027
Publisher: Apress
Imprint: Apress
ISBN-13: 9798868829703
Format: Paperback / softback

You may also like