Skip to content

jansenm/ansible-jenkins-roles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ANSIBLE JENKINS DEVOPS ROLES

Table of Contents

A set of roles to support automated installation of jenkins with ansible.

This is not a one size fits all role. Extensive customisation should be expected before your jenkins is running but at that point its running FULLY configured. No manual intervention needed. At least that is the goal.

For an example playbook that makes use of this roles check my examples repo.

FEATURES

There are several steps already implemented

  1. Download apache tomcat and setup a tomcat instance
  2. Download jenkins and drop it into tomcat
  3. Download a configured set of plugins and activate them.
  4. Configure jenkins
    • authorization strategy
    • authentication strategy
    • notification settings
    • location properties
    • users (for hudson_private authentication strategy aka "Jenkins' own user database")
    • permissions (for hudson authorization strategies project_matrix and global_matrix)
  5. Create a bootstrap job that checks out from vcs and executes all bootstrap/*.job scripts with the job-dsl plugin.

Important

All roles are designed to be used outside this playbook.

DOCUMENTATION

Documentation is done with sphinx. The repository contains a alpha version of a ansible sphinx-domain in the subfolder doc/ansible. The documentation itself is hosted at Read The Docs

OUTLOOK

There are several action points left on my plate. Those i remember right now :)

Write a ansible coding standard::

The idea is to document all rules and conventions applied when writing these roles. I have for example a strict no become for roles policy.

Implement more configuration roles::

Jenkins configuration is complex. I will implement all configuration i need for my daily work.

Provide job templates::

The idea is to provide a list of job templates for common jobs. Eg build a

  • ruby gem
  • python egg
  • ...
Finish the sphinx-ansible domain::

And then bring it up to sphinx-contrib.

AUTHOR

Michael Jansen created Ansible Jenkins DevOps Roles

LICENSE

Please see LICENSE

About

Ansible roles used to deploy jenkins

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published