9

Configuration Management with Ansible

In the last chapter, we looked at Infrastructure as Code (IaC) with Terraform, its core concepts, IaC workflow, state, and debugging techniques. We will now delve into configuration management (CM) and Configuration as Code (CaC) with Ansible. Ansible is a CM tool that helps you to define configuration as idempotent chunks of code.

In this chapter, we’re going to cover the following main topics:

  • Introduction to configuration management
  • Setting up Ansible
  • Introduction to Ansible playbooks
  • Ansible playbooks in action
  • Designing for reusability

Technical requirements

You will need an active Azure subscription to follow the exercises for this chapter. Currently, Azure is offering a free trial for 30 days ...

Get Modern DevOps Practices - Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.