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
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
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