Vagrant and Ansible

“It works on my box”. “I don’t have a day to help Dave set up his new PC”. “I swear I had the same version installed!” Sound familiar? It was for me too before I started using Vagrant and Ansible. Vagrant is a tool for automating the creation of virtual machines. Of course, that’s only half of the battle – once you have a machine you need to configure it. That’s where Ansible comes in. Ansible is a powerful automation tool (think Puppet or Chef, but with a *much* lower learning curve), allowing you to install software and configure things as you need in a reproducible way. By the end of this tutorial, everyone will have created a Vagrant box that installs PHP, Apache2 and configured an example website.

Michael is a polyglot software engineer, committed to reducing complexity in systems and making them more predictable. Working with a variety of languages and tools, he shares his technical expertise to audiences all around the world at user groups and conferences. You can follow @mheap on Twitter

Details

  • Event: PHPNW14
  • Date: Friday, 3rd October 2014
  • Location: Manchester, England