Practical Ansible: Configuration Management from Start to Finish, 2nd Edition

  • 3h 29m
  • Vincent Sesto
  • Apress
  • 2022

Get ready to go from the basics of using Ansible to becoming proficient at implementing configuration management in your projects. This book begins with the basics of Ansible, providing you with details on how to install and configure your environment while working with different Ansible modules from the command line. Next, it introduces you to working with Ansible tasks and organizing configuration code into playbooks.

You’ll then learn how to extend playbooks further, using roles and templates within the configuration code. Author Vincent Sesto then extends your knowledge further by covering custom Ansible modules using Python and Linux shell scripts and demonstrating how you can start to keep your secret values encrypted and secure using Ansible Vault. You’ll also develop Ansible roles with the use of Ansible Galaxy to reuse existing roles that others have created.

This updated edition reflects changes added in the latest version of Ansible (2.9). It also includes an expanded chapter on testing Ansible using Molecule and managing large server environments using applications like Ansible Tower.

What Will You Learn

  • Understand what Ansible is and how to install and run your first basic command line commands
  • Expand your configuration management using Ansible playbooks, roles and templates
  • Customize your code further using Ansible Vault and third-party roles in Ansible Galaxy
  • Work with Ansible in managing cloud infrastructure, specifically in Amazon Web Services
  • Troubleshoot your Ansible code and use frameworks like Molecule and Testinfra to help test your code changes
  • Manage large server environments using real-world examples and extend your configurations using an application like Ansible Tower

Who This Book Is For

Systems Engineers, Developers, DevOps Engineers and Software Administrators.

About the Author

Vincent Sesto is a DevOps engineer, endurance athlete and author. As a DevOps engineer Vince specializes in Linux, Amazon Web Services, and open source applications. He is particularly interested in developing his skills in DevOps, continuous integration, security, log aggregation (management, UI, and reporting), and Python development. In his spare time, you’ll find him running or cycling for long periods of time, making the most of his time outdoors.

In this Book

  • Preface
  • Introduction
  • Configuration Management with Ansible
  • Ansible Playbooks
  • Extending Playbooks with Roles and Templates
  • Custom Ansible Modules, Vaults, and Galaxies
  • Working with Ansible in the Amazon Cloud
  • Ansible Templates and CloudFormation Scripts
  • Ansible Troubleshooting and Variables
  • Testing Ansible with Molecule
  • Managing Large Server Environments
SHOW MORE
FREE ACCESS