Code Monkey home page Code Monkey logo

ansible_jenkins-nginx's Introduction

Deploy Jenkins CI server with Ansible

An Ansible playbook to easily deploy Jenkins CI servers in Debian OSs (Tested on Debian 7.2 Wheezy).

Setup description

Jenkins is managed by Nginx web server, which acts as a proxy to serve the CI server via port 80. Iptables ensures that standard Jenkins port 8080 is unreachable from the outside.

Try it out

Want to try the playbook? You can easily set up a VM using Vagrant and then run directly the ansible-playbook command for it:

vagrant box add debian-7.2 https://dl.dropboxusercontent.com/u/197673519/debian-7.2.0.box
vagrant init debian-7.2

Now edit the Vagrantfile to include this:

config.vm.network :forwarded_port, host: 9000, guest: 80

Launch the VM:

vagrant up

Run Ansible playbook:

ansible-playbook site.yml

Once finished, check it out in your browser using the localhost port 9000 (the way to access port 80 of your running VM, remember we configured it before). You will see the Jenkins dashboard there waiting for new jobs!

ansible_jenkins-nginx's People

Contributors

jose-lpa avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.