Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/aem-design/ansible-role-jenkins
Create a jenkins instance in you container cluster.
https://github.com/aem-design/ansible-role-jenkins
Last synced: 7 days ago
JSON representation
Create a jenkins instance in you container cluster.
- Host: GitHub
- URL: https://github.com/aem-design/ansible-role-jenkins
- Owner: aem-design
- Created: 2019-09-07T11:25:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-15T14:23:23.000Z (over 3 years ago)
- Last Synced: 2024-11-07T01:35:22.464Z (about 2 months ago)
- Language: Python
- Size: 37.1 KB
- Stars: 0
- Watchers: 11
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Ansible Role: Jenkins
[![Build Status](https://travis-ci.org/aem-design/ansible-role-jenkins.svg?branch=master)](https://travis-ci.org/aem-design/ansible-role-jenkins)
Setup jenkins in your environment.
> This role was developed as part of
> [AEM.Design](http://aem.design/)## Requirements
None.
## Role Variables
Available variables are listed below, along with default values (see `defaults/main.yml`):
| Name | Required | Default | Notes |
|---------------------------- |---------- |--------------------------------------------------------------------------- |----------------------------- |
| docker_image_user | | aemdesign | |
| docker_image_name | | jenkins | |
| docker_image | | {{ docker_image_user }}/{{ docker_image_name }} | |
| docker_image_tag | | latest | |
| docker_container_name | | jenkins | |
| service_jenkins_http_port | | 8080 | |
| service_jenkins_agent_port | | 50000 | |
| service_jenkins_host | | localhost | |
| service_jenkins_slave_count | | 2 | |
| | | | |
| service_jvm_opts | | -Dhudson.security.HudsonPrivateSecurityRealm.ID_REGEX=[a-zA-Z0-9_.@-]+ | allow more chars in user id |
| | | | |
| docker_published_ports | | | |
| | | - "0.0.0.0:{{ service_jenkins_http_port | default('8080') }}:8080/tcp" | |
| | | - "0.0.0.0:{{ service_jenkins_agent_port | default('50000') }}:50000/tcp" | |
| | | | |
| docker_volumes | | | |
| | | - "jenkins-data:/var/jenkins_home:z" | |
| | | | |
| docker_container_user | | {{ docker_container_name }} | |
| docker_container_userid | | 10001 | |
| docker_container_group | | {{ docker_container_name }} | |
| docker_container_groupid | | 10001 | |
| | | | |
| docker_host | | unix://var/run/docker.sock | host where to run the docker container for executing pyaem2 commands |
| | | | |## Dependencies
None.
## Example Playbook
```yaml
- hosts: all
roles:
- { role: aem_design.jenkins
}
```## License
Apache 2.0
## Author Information
This role was created by [Max Barrass](https://aem.design/).