Note: this project has not been updated in a while (and now marked read-only) but the techniques still illustrate the workflow.
This Packer build example is intended to illustrate building a simple appserver image from a corporate base image, and provisioning it using Packer's ansible Provisioner. The build AMI is then launched and tested with TestInfra.
This is the sibling repository of the Ansible role ansible-example-appserver
This repository was created as part of a presentation given to the DevOps Toronto monthly meetup on Nov. 7, 2017. Slides from the talk are available here.