Get the Flask 'Hello World' app up and running on a Vagrant VM using your known best 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
.
Guidelines:
- The provisioner should clone a Github-hosted repo into the VM under
/etc/chownow/infratest
- The app should route through nginx and gunicorn or uWSGI.
- The app should be running as a non-privileged user
- The app should be automatically restarted if crashes or is killed
- The app should maximize all of the available CPUs (have Vagrant virtualize multiple CPUs and use them)