11

Using Ansible for Configuration as Code

In this chapter, we are going to cover configuration management (CM), Configuration as Code (CaC), and our tool of choice for it: Ansible.

We will cover the following topics:

  • CM systems and CaC
  • Ansible
  • Ansible Galaxy
  • Handling secrets
  • Ansible Tower and alternatives
  • Advanced topics

Technical requirements

For this chapter, you will need a Linux system that you can access through ssh. If your main operating system is Windows, you will need another Linux system to play the role of the control node. As of now, the Ansible project does not support Windows as a control node.

CM systems and CaC

Setting up and maintaining a system other than a hobbyist server (and even those, maybe, too) poses a serious challenge: ...

Get The Linux DevOps Handbook 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.