Continuously delivering infrastructure – Part 1: Ansible, Molecule and Testinfra

Motivation

TestAllTheThingsAs part of a centralised system engineer tools and operations team, we often show teams how to set up their continuous integration workflow. Most of the time, this is build in a Java environment with a pipeline made in Jenkins CI and of course some testing frameworks.

Our infrastructure is provisioned with Ansible, so we are able to write Infrastructure as Code (IaC). We create VirtualBox files for almost all of our playbooks to test changes with it manually. This construct however failed regularly once it hit the staging environments. So the following thought came up: We already write code – why don’t we just continuously deploy it also?

Continue reading “Continuously delivering infrastructure – Part 1: Ansible, Molecule and Testinfra”