Coder Social home page Coder Social logo

ansible-jenkins's Introduction

ansible-jenkins

This is an ansible playbook to install and configure Jenkins-CI.

The playbook will install NGINX, Docker, a local-only SMTP server and Jenkins. It will also install Docker-maintenance cron jobs and Jenkins-backup scripts to S3.

This playbook assumes that the instance is behind an elb and the elb will do its SSL termination. The ssl certificate can be obtained using AWS ACM or can be manually uploaded

This playbook is a rework of the ee-infra-jenkins

Build your own

  1. SSH to host you want to run this
  2. Install git and ansible
  3. Clone this repository to a location
  4. Run the playbook
ansible-playbook site.yml -e "nginx_htpasswd=YourPasswordHere jenkins_backup_bucket=BucketNameHere jenkins_backup_dms=deadmanssitchurl jenkins_backup_directory=backupdirpath papertrail_host=papertrailurl papertrail_port=papertrailport"

Currently this playbook is being used as part of an autoscaling group userdata that clones and runs this playbook on boot.

Jenkins backups

This playbook expects that you use the ThinBackup Jenkins plugin and that you save backups in /data/backups.

ansible-jenkins's People

Contributors

bkochendorfer avatar escattone avatar fiji-flo avatar floatingatoll avatar limed avatar mozilla-github-standards 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.