Coder Social home page Coder Social logo

ansible-jenkins's Introduction

ansible-jenkins

An Ansible Role to Install/Configure Jenkins CI

Requirements

None

Role Variables

defaults/main.yml

Dependencies

None

Example Playbook

---
- hosts: all
  become: true
  vars:
  roles:
    - role: ansible-jenkins
  tasks:

Vagrant Usage

Included is a Vagrant test environment to easily spinup. This environment is very useful for quickly spinning up a usable Jenkins CI platform. It is also very useful for learning how to provision a Jenkins CI platform using Ansible.

Spinning up Vagrant test environment

To spin up this test environment simply execute:

cd Vagrant
vagrant up

Once the provisioning is complete you can then connect to the Jenkins WebUI using your browser of choice and begin doing some cool stuff.

NOTE: This setup is an insecure setup without any authentication enabled and it should be treated as purely a playground.

Tearing down Vagrant test environment

Once you are done using this test environment and are ready to tear it all down simply execute:

cd Vagrant
./cleanup.sh

License

MIT

Author Information

Larry Smith Jr.

ansible-jenkins's People

Contributors

mrlesmithjr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ansible-jenkins's Issues

Fix pip install

Need to fix Python pip install. The current method uses easy_install. This is failing because of dependencies so need to change to python-pip package.

Reformat variables in tasks/templates

Need to reformat all variables in tasks/templates to follow the pattern below:

From:

{{ var.foo }}
{{ var.foo.bar }}

To:

{{ var['foo'] }}
{{ var['foo']['bar'] }}

NOTE: This is not a requirement but a preference going forward

Add ability to enable/disable CLI over Remoting

Need to add the ability to enable/disable CLI over Remoting.

Whether to enable the historical Jenkins CLI mode over remoting (-remoting option in the client). While this may be necessary to support certain commands or command options, it is considered intrinsically insecure. (-http mode is always available, and -ssh mode is available whenever the SSH service is enabled.)

Fix unreadable data error in WebUI

In the latest version of Jenkins in the WebUI an error is presented as below:

MissingFieldException: No field 'default Suffix' found in class 'jenkins.model.JenkinsLocationConfiguration'

managerPasswordSecret encyption issue in config.xml

when using ldap, i can't login when i pass unencrypted password in config.xml for managerPasswordSecret

if i use existing config.xml and figure out what encrypted password is and put it into my config.xml file, it works.

any ideas?

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.