Forked from maxgutman/adsnative_devops_coding_challenge.md
Created
June 27, 2017 17:58
-
-
Save andragabr/a61258a3a35e70c01ae4efbe6df6dcb0 to your computer and use it in GitHub Desktop.
Revisions
-
maxgutman revised this gist
Feb 24, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## AdsNative: Devops Coding Challenge Get this simple [Flask app](https://github.com/picatcha/adsnative_devops_challenge) up and running on a [Vagrant VM](https://www.vagrantup.com/) using your known best devops practices as well as the instructions in the guidelines below. You must use [Ansible](http://docs.ansible.com/ansible/intro.html) 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](https://github.com/picatcha/adsnative_devops_challenge) into the VM under `/webapps/adsnative` -
maxgutman revised this gist
Feb 22, 2016 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,6 @@ ## AdsNative: Devops Coding Challenge Get this simple [Flask app](https://github.com/picatcha/adsnative_devops_challenge) up and running on a [Vagrant VM](https://www.vagrantup.com/) using your known best devops practices as well as the instructions in the guidelines below. You must use [Ansible](http://docs.ansible.com/ansible/intro.html) 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://adsnative-devops-challenge.com` Guidelines: - The provisioner should clone [this github repo](https://github.com/picatcha/adsnative_devops_challenge) into the VM under `/webapps/adsnative` -
maxgutman created this gist
Feb 22, 2016 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,19 @@ ## AdsNative: Devops Coding Challenge Get this simple [Flask app](https://github.com/picatcha/adsnative_devops_challenge) up and running on a [Vagrant VM](https://www.vagrantup.com/), using your known best devops practices as well as the instructions in the guidelines below. You must use [Ansible](http://docs.ansible.com/ansible/intro.html) 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://adsnative-devops-challenge.com` Guidelines: - The provisioner should clone [this github repo](https://github.com/picatcha/adsnative_devops_challenge) 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 - The app should maxmimize all of the available CPUs (have Vagrant virtualize multiple CPUs) - The app's logs should be captured to `/var/log/adsnative/app.log`, and they should be rotated hourly - Timezone should be in US EST Write your ansible code and templates in your own private repo and when complete, send to us the contents in a zip or tarball. You may stick to the default Vagrant image (precise64) or use another preferred flavor of Linux. We'll evaluate the submission on simplicity, code quality, and use of best practices of the provisioning code. Feel free to be creative and take liberties where you feel it will improve the deliverable!