buluma.eclipse
Ansible Role: Eclipse
This role helps you install Eclipse and its plugins on your system.
GitHub | Version | Issues | Pull Requests | Downloads |
---|---|---|---|---|
Example Playbook
The example below is from the file molecule/default/converge.yml
. It gets tested every time changes are made.
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: buluma.eclipse
eclipse_release: 2024‑06
eclipse_install_path: /opt/eclipse-{{ eclipse_release }}
# You can also add additional Eclipse versions as commented below
Before using this role, ensure the machine is ready. In Continuous Integration (CI), this is done with molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
become: true
gather_facts: false
roles:
- role: buluma.bootstrap
- role: buluma.core_dependencies
- role: buluma.java
For more details on using these roles, check the full explanation and example.
Role Variables
The default settings for the variables are found in defaults/main.yml
:
---
# Settings for Eclipse installation
# The release version of Eclipse to install.
# Check https://www.eclipse.org/downloads/packages/release for versions available.
eclipse_release: 2024-06
# The version type could be R, RC1, M3, M2 or M1.
eclipse_release_version: R
# Choose which type of Eclipse to install: options include jee, cpp, java, etc.
eclipse_release_type: java
# Temporary download location for Eclipse installation.
eclipse_tmp_path: /tmp
# Main installation directory.
eclipse_install_path: /opt/eclipse-{{ eclipse_release }}
# Mirror link to download Eclipse (choose one).
eclipse_archive_mirror: "http://ftp.snt.utwente.nl/pub/software/eclipse/technology/epp/downloads/release"
# Shortcuts to the Eclipse installation folder.
eclipse_link_paths:
- /opt/eclipse
# List of plugins to install (leave empty if not needed).
eclipse_plugins: []
# Option to install Lombok.
eclipse_install_lombok: true
# Specify Lombok version if you want.
eclipse_lombok_version: "1.18.34"
# Option to install Maven.
eclipse_install_maven: true
Requirements
- Python packages listed in requirements.txt.
State of Used Roles
A list of roles used to prepare your system, though you can choose other ways as well.
Requirement | GitHub | Version |
---|---|---|
buluma.bootstrap | ||
buluma.core_dependencies | ||
buluma.java |
Compatibility
This role works with several container images, as listed below:
Container | Tags |
---|---|
Amazon | Candidate |
EL | 8, 9 |
Debian | all |
Fedora | all |
opensuse | all |
Ubuntu | all |
Ansible version 2.12 or higher is required. Tests have been conducted on previous, current, and development versions.
If you encounter any issues, please report them on GitHub.
Changelog
To find the history of role updates, check out Role History.
License
This role is licensed under Apache-2.0.
Author Information
Created by Shadow Walker.
ansible-galaxy install buluma.eclipse