/ansible-role-repo-jenkins

A role that configures the yum repository for Jenkins continuous integration and continuous delivery application.

Primary LanguageShellBSD 3-Clause "New" or "Revised" LicenseBSD-3-Clause

Build Status

Ansible Role: repo-jenkins

| A role that configures the yum repository for Jenkins continuous integration and continuous delivery application.

Motivation

This role is needed to provide the Jenkins packages.

Installation

Install from Ansible Galaxy

ansible-galaxy install while_true_do.repo_jenkins

Install from Github

git clone https://github.com/while-true-do/ansible-role-repo-jenkins.git while_true_do.repo_jenkins

Requirements

Used Modules:

Dependencies

This role has the below dependencies:

You can install them with:

ansible-galaxy install -r requirements.yml

Role Variables

# defaults/main.yml for repo_jenkins

# repository state can be set to "present" / "absent"
wtd_repo_jenkins_state: "present"

Example Playbook

Simple Example:

- hosts: servers
  roles:
    - { role: while_true_do.repo_jenkins }

Advanced Example:

- hosts: servers
  roles:
    - { role: while_true_do.repo_jenkins, wtd_repo_jenkins_state: "absent" }

Testing

All tests are located in test directory.

Basic testing:

bash ./tests/test-ansible.sh
bash ./tests/test-spelling.sh
bash ./tests/test-whitespace.sh

Contribute / Bugs

Thank you so much for considering to contribute. Every contribution helps us. We are really happy, when somebody is joining the hard work. Please have a look at the links first.

License

This work is licensed under a BSD License.

Author Information

Site: while-true-do.org

Mail: hello@while-true-do.org