Ansible Configuration Management - Second Edition

Leverage the power of Ansible to manage your infrastructure efficiently

Ansible Configuration Management - Second Edition

Daniel Hall

1 customer reviews
Leverage the power of Ansible to manage your infrastructure efficiently
Mapt Subscription
FREE
€29.98/m after trial
eBook
€20.16
RRP €28.78
Save 29%
Print + eBook
€29.99
RRP €29.99
What do I get with a Mapt Pro subscription?
  • Unlimited access to all Packt’s 5,000+ eBooks and Videos
  • Early Access content, Progress Tracking, and Assessments
  • 1 Free eBook or Video to download and keep every month after trial
What do I get with an eBook?
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with Print & eBook?
  • Get a paperback copy of the book delivered to you
  • Download this book in EPUB, PDF, MOBI formats
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
What do I get with a Video?
  • Download this Video course in MP4 format
  • DRM FREE - read and interact with your content when you want, where you want, and how you want
  • Access this title in the Mapt reader
€0.00
€20.16
€29.99
€29.98p/m after trial
RRP €28.78
RRP €29.99
Subscription
eBook
Print + eBook
Start 30 Day Trial
Subscribe and access every Packt eBook & Video.
 
  • 5,000+ eBooks & Videos
  • 50+ New titles a month
  • 1 Free eBook/Video to keep every month
Start Free Trial
 
Preview in Mapt

Book Details

ISBN 139781785282300
Paperback122 pages

Book Description

Ansible is an open source software platform for configuring and managing computers. It provides a clear and concise way to manage the configuration of your Linux infrastructure. This book is a step-by-step guide that provides you with the knowledge you require to effectively manage your systems in a simple, quick, and maintainable way, with real-world examples.

You will begin by learning the basics of Ansible and then move on to exploring more advanced topics. You will then learn the basic and complex operations of playbooks and interact with modules to manage Windows machines and deploy them. You will also get acquainted with Ansible's more advanced features such as serially updating machines, delegating tasks to other machines, advanced uses of variables, looping and conditions, copying whole directories, and using filters to process variables. Towards the end of the book, you will learn how to increase the functionality of Ansible itself by writing your own modules and plugins.

Table of Contents

Chapter 1: Getting Started with Ansible
Hardware and software required
Installation methods
Setting up Ansible
First steps with Ansible
Module help
Summary
Chapter 2: Simple Playbooks
The target section
The variable section
The task section
The handlers section
The playbook modules
Windows playbook modules
Cloud Infrastructure modules
Summary
Chapter 3: Advanced Playbooks
Running operations in parallel
Looping
Conditional execution
Task delegation
Extra variables
Finding files with variables
Environment variables
External data lookups
Storing results
Processing data
Debugging playbooks
Summary
Chapter 4: Larger Projects
Includes
Roles
Role metadata
Role defaults
Speeding things up
Storing secrets
Summary
Chapter 5: Custom Modules
Writing a module in Bash
Using a custom module
Writing modules in Python
External inventories
Extending Ansible
Summary

What You Will Learn

  • Manage your Windows machines with Ansible
  • Use Ansible's command-line tools to interrogate systems
  • Interact with modules and deploy cloud infrastructures
  • Process data inside Ansible and extend the functionality of Ansible
  • Learn how to store secrets in Ansible's vault and discover other source code management techniques
  • Build maintainable configurations for large environments
  • Write custom Ansible plugins efficiently
  • Extend the functionality of Ansible by writing your own modules

Authors

Table of Contents

Chapter 1: Getting Started with Ansible
Hardware and software required
Installation methods
Setting up Ansible
First steps with Ansible
Module help
Summary
Chapter 2: Simple Playbooks
The target section
The variable section
The task section
The handlers section
The playbook modules
Windows playbook modules
Cloud Infrastructure modules
Summary
Chapter 3: Advanced Playbooks
Running operations in parallel
Looping
Conditional execution
Task delegation
Extra variables
Finding files with variables
Environment variables
External data lookups
Storing results
Processing data
Debugging playbooks
Summary
Chapter 4: Larger Projects
Includes
Roles
Role metadata
Role defaults
Speeding things up
Storing secrets
Summary
Chapter 5: Custom Modules
Writing a module in Bash
Using a custom module
Writing modules in Python
External inventories
Extending Ansible
Summary

Book Details

ISBN 139781785282300
Paperback122 pages
Read More
From 1 reviews

Read More Reviews

Recommended for You

Learning Docker Book Cover
Learning Docker
€ 40.78
€ 8.16
Docker Cookbook Book Cover
Docker Cookbook
€ 35.98
€ 25.20
DevOps Automation Cookbook Book Cover
DevOps Automation Cookbook
€ 39.58
€ 27.72
Learning Ansible Book Cover
Learning Ansible
€ 26.38
€ 18.48
Mastering Docker Book Cover
Mastering Docker
€ 43.18
€ 30.24
Orchestrating Docker Book Cover
Orchestrating Docker
€ 14.38
€ 10.08