Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save andragabr/a61258a3a35e70c01ae4efbe6df6dcb0 to your computer and use it in GitHub Desktop.
Save andragabr/a61258a3a35e70c01ae4efbe6df6dcb0 to your computer and use it in GitHub Desktop.

Revisions

  1. @maxgutman maxgutman revised this gist Feb 24, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion adsnative_devops_coding_challenge.md
    Original 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`
    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`
  2. @maxgutman maxgutman revised this gist Feb 22, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion adsnative_devops_coding_challenge.md
    Original 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`
    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`
  3. @maxgutman maxgutman created this gist Feb 22, 2016.
    19 changes: 19 additions & 0 deletions adsnative_devops_coding_challenge.md
    Original 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!