Skip to content

Instantly share code, notes, and snippets.

View sammerry's full-sized avatar

Sam Merry sammerry

  • AdsNative
  • Oakland, Ca
View GitHub Profile

Polymorph: Devops Coding Challenge

Get this simple Flask app up and running on a Vagrant VM using your known best devops practices as well as the instructions in the guidelines below. You must use Ansible as your provisioner to install and configure everything. When you're done, we should be able to type vagrant up and our app will be running and reachable on http port 80 at http://192.168.33.15 and http://devops.adsnative.com

Guidelines:

  • The provisioner should clone this github repo into the VM under /webapps/adsnative
  • You should be able to find what system packages are needed by looking through the app
  • You should not need to change the app code in any way
  • The app should be running as a non-privileged user
  • The app should be automatically restarted if crashes or is killed