clouddrove.ansible_role_docker_jenkins

<!-- This file is automatically created by `geine`. To update, change `README.yaml` and run `make readme`. -->

<p align="center"> <img src="https://user-images.githubusercontent.com/50652676/62451340-ba925480-b78b-11e9-99f0-13a8a9cc0afa.png" width="100" height="100"></p>

<h1 align="center">
    Ansible Role Docker Jenkins
</h1>

<p align="center" style="font-size: 1.2rem;"> 
    This Ansible role installs Jenkins using Docker on a server.
</p>

<p align="center">

<a href="https://www.ansible.com">
  <img src="https://img.shields.io/badge/Ansible-2.8-green?style=flat&logo=ansible" alt="Ansible">
</a>
<a href="LICENSE.md">
  <img src="https://img.shields.io/badge/License-MIT-blue.svg" alt="License">
</a>
<a href="https://ubuntu.com/">
  <img src="https://img.shields.io/badge/ubuntu-16.x-orange?style=flat&logo=ubuntu" alt="Distribution">
</a>
<a href="https://ubuntu.com/">
  <img src="https://img.shields.io/badge/ubuntu-18.x-orange?style=flat&logo=ubuntu" alt="Distribution">
</a>
<a href="https://www.centos.org/">
  <img src="https://img.shields.io/badge/centos-7.x-orange" alt="Distribution">
</a>

</p>
<p align="center">

<a href='https://facebook.com/sharer/sharer.php?u=https://github.com/clouddrove/ansible-role-docker-jenkins'>
  <img title="Share on Facebook" src="https://user-images.githubusercontent.com/50652676/62817743-4f64cb80-bb59-11e9-90c7-b057252ded50.png" />
</a>
<a href='https://www.linkedin.com/shareArticle?mini=true&title=Ansible+Role+Docker+Jenkins&url=https://github.com/clouddrove/ansible-role-docker-jenkins'>
  <img title="Share on LinkedIn" src="https://user-images.githubusercontent.com/50652676/62817742-4e339e80-bb59-11e9-87b9-a1f68cae1049.png" />
</a>
<a href='https://twitter.com/intent/tweet/?text=Ansible+Role+Docker+Jenkins&url=https://github.com/clouddrove/ansible-role-docker-jenkins'>
  <img title="Share on Twitter" src="https://user-images.githubusercontent.com/50652676/62817740-4c69db00-bb59-11e9-8a79-3580fbbf6d5c.png" />
</a>

</p>
<hr>

We are passionate about **DevOps**. DevOps promotes automation and consistency. When setting up different environments (like local, development, testing, production, etc.), it is essential to keep them uniform. This is easily done by automating setups with Ansible playbooks. 

We create small roles for each environment component, which include tasks and tests. These roles can be combined in an [Ansible playbook](https://docs.ansible.com/ansible/latest/user_guide/playbooks_intro.html) to achieve consistent outcomes.

## Prerequisites

This module has a few requirements:

- [Ansible 2.8](https://docs.ansible.com/ansible/latest/installation_guide/intro_installation.html)
- [Python](https://www.python.org/downloads)
- [Docker](https://docs.docker.com/install/linux/docker-ce/ubuntu)
- [Docker Caddy](https://github.com/clouddrove/ansible-role-docker-caddy)

## What It Includes

This role includes:

- Jenkins

## Example Playbook

**IMPORTANT:** The `master` branch in `source` might change with updates, so it's recommended to use release versions from [here](https://github.com/clouddrove/ansible-role-docker-jenkins/releases).

```yaml
- hosts: localhost
  remote_user: root
  become: true
  roles:
    - clouddrove.ansible_role_docker_jenkins

Variables

  jenkins_version: "lts-alpine"
  jenkins_caddy_server_name: jenkins.clouddrove.com
  jenkins_opt_dir: "/opt/jenkins"
  jenkins_config_dir: "{{ jenkins_opt_dir }}/config"
  jenkins_tmp_dir: "{{ jenkins_opt_dir }}/tmp"
  jenkins_data_dir: "{{ jenkins_opt_dir }}/data"
  jenkins_https_port: "443"
  jenkins_http_port: "8080"
  jenkins_xmx: "{{ ( ansible_memtotal_mb * 0.20 ) | round(0, 'ceil') | int }}"
  jenkins_user: jenkins
  jenkins_group: jenkins
  jenkins_hostname: localhost
  jenkins_agent_port: "50001"
  jenkins_plugins:
    - git
    - ssh
  cert_path: "/root/config/star-clouddrove.crt"
  key_path: "/root/config/clouddrove-sub-domain-private-key.pem"

Installation

$ ansible-galaxy install clouddrove.ansible_role_docker_jenkins

Feedback

If you find a bug or have feedback, please report it in our issue tracker, or email us at [email protected].

If you like our work, please give us a ★ on GitHub!

About Us

At CloudDrove, we provide expert advice, support, and services to help organizations with cloud transitions. Our services include Docker and container management, cloud migration, infrastructure automation, application modernization, and performance optimization.

We are Cloud Experts!


We ❤️ Open Source. Check out our other modules for more help with your cloud projects.

```

Informazioni sul progetto

This ansible role is used to install Jenkins with docker on server.

Installa
ansible-galaxy install clouddrove.ansible_role_docker_jenkins
Licenza
mit
Download
391
Proprietario
Design, deployment, and management partner for your cloud