Books
Gourav Shah

Ansible Playbook Essentials

Design automation blueprints using Ansible's playbooks to orchestrate and manage your multi-tier infrastructure
About This BookGet to grips with Ansible's features such as orchestration, automatic node discovery, and data encryptionCreate data-driven, modular and reusable automation code with Ansible roles, facts, variables, and templatesA step-by-step approach to automating and managing system and application configurations effectively using Ansible's playbooksWho This Book Is ForIf you are a systems or automation engineer who intends to automate common infrastructure tasks, deploy applications, and use orchestration to configure systems in a co-ordinated manner, then this book is for you. Some understanding of the Linux/UNIX command line interface is expected.
What You Will LearnWrite simple tasks and playsOrganize code into a reusable, modular structureSeparate code from data using variables and Jinja2 templatesRun custom commands and scripts using Ansible's command modulesControl execution flow based on conditionalsIntegrate nodes and discover topology information about other nodes in the clusterEncrypt data with ansible-vaultCreate environments with isolated configurations to match application development workflowOrchestrate infrastructure and deploy applications in a coordinated mannerIn DetailAnsible combines configuration management, orchestration, and parallel command execution into a single tool. Its batteries-included approach and built-in module library makes it easy to integrate it with cloud platforms, databases, and notification services without requiring additional plugins. Playbooks in Ansible define the policies your systems under management enforce. They facilitate effective configuration management rather than running ad hoc scripts to deploy complex applications.
This book will show you how to write a blueprint of your infrastructure encompassing multi-tier applications using Ansible's playbooks. Beginning with the basic concepts such as plays, tasks, handlers, inventory, and the YAML syntax that Ansible uses, you will see how to organize your code into a modular structure. Building on this, you will master techniques to create data-driven playbooks with variables, templates, logical constructs, and encrypted data. This book will also take you through advanced clustering concepts such as discovering topology information, managing multiple environments, and orchestration.
By the end of this book, you will be able to design solutions to your automation and orchestration problems using playbooks quickly and efficiently.
Style and approachThis book follows a step-by-step approach, with the concepts explained in a conversational and easy-to-follow style. Each topic is explained sequentially in the process of creating a course. A comprehensive explanation of the basic and advanced features of Ansible playbooks is also included.
192 printed pages
Publication year
2015
Have you already read it? How did you like it?
👍👎

On the bookshelves

fb2epub
Drag & drop your files (not more than 5 at once)