Playbooks and support infrastructure

5 minute read Published: Author: Derek Laventure

Ansible Playbooks are the heart of any project driven by this tool, and in our example project we are now ready to look at this core piece of the puzzle.

Essentially, when we think about the infrastructure resources needed to host a site or application like Aegir, there are 3 main categories to think about:

  • Support infrastructure: VPCs and Firewalls, etc.
  • Hosts: usually VMs, sometimes clusters or “bare metal” servers
  • Applications: the software stack from operating system up through …

Variables and Vault

5 minute read Published: Author: Derek Laventure

So far in this series, we’ve covered most of the foundational pieces of our pure ansible infrastructure project. We’ve got Drumkit installed, and configured our dynamic inventory. The last piece we need is a way to configure the fine-grained details of the Ansible playbooks and roles we’ll be running. We also need a secure way to store variables with sensitive data, in such a way that Ansible can access them as needed.

The simplicity of Ansible’s approach to these …