Managing Complexity: Config As Code, Custom Ansible Modules, and You

10:45am - 11:25am on Friday, October 6 in Madison

Zach Marine

Audience Level:
Intermediate
Watch:
https://youtu.be/oPZr7oGTFkw

Overview

We will discuss what ansible is and how to write a custom module for it, how to express config as code, and techniques for testing config as code. The talk will use a real-life case study (postgres administration) to create the narrative for why this matters and how to put these pieces together.

Description

Managing complex configurations is, well, complex. Take postgres as an example: with roles, group memberships, granted privileges, and default privileges all affecting each other, keeping straight how everything fits together can feel impossible. This talk discusses an approach we took at Squarespace to simplify this chaos using a custom ansible module and config as code. Taking this problem as a case study, we’ll discuss what ansible is and how to write a custom module for it, how to express config as code, and techniques for testing config as code.

Want to edit this page?