This Ansible role automates the installation and initial configuration of Jenkins CI on servers running RHEL/CentOS or Debian/Ubuntu. It handles installation via package, ensures required tools like curl and Java 8+ are present, and is structured to integrate smoothly into repeatable provisioning workflows. Changes made to the Jenkins systemd override.conf file; the default set of changes set the configured URL prefix, Jenkins home directory, Jenkins port and adds the configured Jenkins and Java options for Jenkins' startup. You can add other option/value pairs if you need to set other options for the Jenkins systemd override.conf file. If you are running Jenkins behind a proxy server, configure these options appropriately. Otherwise Jenkins will be configured with a direct Internet connection.

Features

  • Installs Jenkins on RHEL/CentOS and Debian/Ubuntu platforms
  • Ensures prerequisites like curl and Java 8+ are installed
  • Configurable variables: package state, hostname, Jenkins home directory, HTTP port, admin credentials
  • Supports managing package version state (present vs. latest)
  • Integrates with Molecule for testing and validation on multiple OSes
  • Reusable and community-maintained, ideal for infrastructure as code use cases

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Ansible Role Jenkins

Ansible Role Jenkins Web Site

Other Useful Business Software
Forever Free Full-Stack Observability | Grafana Cloud Icon
Forever Free Full-Stack Observability | Grafana Cloud

Our generous forever free tier includes the full platform, including the AI Assistant, for 3 users with 10k metrics, 50GB logs, and 50GB traces.

Built on open standards like Prometheus and OpenTelemetry, Grafana Cloud includes Kubernetes Monitoring, Application Observability, Incident Response, plus the AI-powered Grafana Assistant. Get started with our generous free tier today.
Create free account
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Ansible Role Jenkins!

Additional Project Details

Operating Systems

Linux

Programming Language

Groovy

Related Categories

Groovy Software Development Software

Registered

2025-09-02