Giter Club home page Giter Club logo

ansible-role-jenkins's Introduction

Build Status

Ansible Jenkins Role

An Ansible role for installing and managing Jenkins CI. It can also install and update Jenkins plugins if configured.

Role Variables

  • jenkins_version:

    • Description: Jenkins provides a stable version and a latest version of their software.
    • Values: stable | latest
    • Default: stable
  • jenkins_cli_path:

    • Description: Path where the cli should be installed to.
    • Default: /usr/local/lib/jenkins
  • jenkins_cli_url:

    • Description: URL where the cli can access the Jenkins server.
    • Default: http://127.0.0.1:8080
  • jenkins_user_home:

    • Description: Path to home directory of the user running Jenkins.
    • Default: /var/lib/jenkins
  • jenkins_install_plugins:

    • Description: Whether the plugins missing should be installed.
    • Values: yes | no
    • Default: yes
  • jenkins_update_plugins:

    • Description: Whether the plugins installed and outdated should be updated.
    • Values: yes | no
    • Default: yes
  • jenkins_plugins:

    • Description: List of plugins which should be installed (shortnames). Create a user e.g.https://jenkins.example.com/user/buildfarm/configure and copy the SSH Public Key of the Jenkins user into the web form.
    • Default: [git, github, subversion, thinBackup, greenballs, ws-cleanup, parameterized-trigger ]
  • jenkins_pkg_state:

    • Description: Whether the packages should be just be installed or updated to latest.
    • Values: installed | latest
    • Default: installed
  • jenkins_service_enabled:

    • Description: Whether the service should be started on boot or not.
    • Values: yes | no
    • Default: yes
  • jenkins_service_started:

    • Description: Whether the service should be running.
    • Values: started | stopped
    • Default: started

Dependencies

None

Example Playbook

- hosts: jenkins-masters
  roles:
     - { role: resmo.jenkins }

License

BSD

Author Information

René Moser

ansible-role-jenkins's People

Contributors

resmo avatar sontags avatar srgoni avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ansible-role-jenkins's Issues

always_run is deprecated

This role still uses always_run in lieu of check_mode: no
Ansible 2.4 still supports this parameter, but it might be gone soon.

Please upgrade the role. Thanks.

Example output:

TASK [resmo.jenkins : get installed Jenkins plugins] ****************************************************************************************************************************************************************************************
[DEPRECATION WARNING]: always_run is deprecated. Use check_mode = no instead.. This feature will be removed in version 2.4. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

TASK [resmo.jenkins : check for Jenkins plugin updates] *************************************************************************************************************************************************************************************
[DEPRECATION WARNING]: always_run is deprecated. Use check_mode = no instead.. This feature will be removed in version 2.4. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.

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.