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

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
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