Twin Cities Software Symposium - No Fluff Just Stuff

Twin Cities Software Symposium

March 2 - 4, 2018

Ansible (best) practices

Sunday - Mar 4 11:00 AM CST - JEFFERSON

Ansible, like Git, aims to be a simple tool.
The benefit here is that the level of abstraction that Ansible offers is paper-thin, with no complicated workflows, or opinions enforced by the tool itself.
The downside is that without a prescribed approach to Ansible, developing your playbooks often becomes a case of trial-and-error.

As engineers steeped in the DevOps mindset we must be able to use the tool effectively, allowing us to accelerate and shorten the lead time from development to production.

In this session we will take a look at some lessons learned when working with Ansible. Topics covered:

  • Variables, variable lookup precedence, and the best way to use variables in your Ansible scripts
  • Setting up Ansible to work locally, allowing for faster development, iteration and testing
  • Laying out your inventory files, and positioning them to work best with group_vars and host_vars
  • Thinking about the “hierarchy” of your infrastructure, and how best to use Ansible to reflect that hierarchy
Raju Gandhi

Raju Gandhi

Founder, DefMacro Software

Video Preview

About Raju Gandhi

Raju is a software craftsman with almost 20 years of hands-on experience scoping, architecting, designing, implementing full stack applications.

He provides a 360 view of the development cycle, is proficient in a variety of programming languages and paradigms, experienced with software development methodologies, as well an expert in infrastructure and tooling.

He has long been in the pursuit of hermeticism across the development stack by championing immutability during development (with languages like Clojure), deployment (leveraging tools like Docker and Kubernetes), and provisioning and configuration via code (toolkits like Ansible, Terraform, Packer, everything-as-code).

Raju is a published author, internationally known public speaker and trainer.
Raju can be found on Twitter as @looselytyped.
In his spare time, you will find Raju reading, playing with technology, or spending time with his wonderful (and significantly better) other half.