robertdebock.eclipse
Ansible Role Eclipse
This role installs Eclipse and its plugins on your computer.
GitHub | GitLab | Downloads | Version |
---|---|---|---|
Example Playbook
Below is a sample playbook. It is taken from molecule/default/converge.yml
and is tested with each push, pull request, and release.
---
- name: Converge
hosts: all
become: true
gather_facts: true
roles:
- role: robertdebock.eclipse
# You can specify different Eclipse releases and paths below
# - role: robertdebock.eclipse
# eclipse_release: 2022-09
# eclipse_install_path: /opt/eclipse-{{ eclipse_release }}
# eclipse_link_paths:
# - /opt/eclipse-09
# - /opt/eclipse-202209
# - role: robertdebock.eclipse
# eclipse_release: 2022-12
# eclipse_install_path: /opt/eclipse-{{ eclipse_release }}
# eclipse_link_paths: []
Before running the playbook, the system must be prepared. In CI, this is done using molecule/default/prepare.yml
:
---
- name: Prepare
hosts: all
become: true
gather_facts: false
roles:
- role: robertdebock.bootstrap
- role: robertdebock.core_dependencies
- role: robertdebock.java
For a complete guide and examples on how to use these roles, see this link.
Role Variables
Default variable values are located in defaults/main.yml
:
---
# defaults file for eclipse
# The version of Eclipse to install.
eclipse_release: 2023-06
# The release version to install: R, RC1, M3, M2, or M1.
eclipse_release_version: R
# Choose the type of installation: java, jee, cpp, etc.
eclipse_release_type: java
# Where to download Eclipse temporarily.
eclipse_tmp_path: /tmp
# The directory where Eclipse will be installed.
eclipse_install_path: /opt/eclipse-{{ eclipse_release }}
# The mirror for downloading Eclipse.
eclipse_archive_mirror: "http://ftp.snt.utwente.nl/pub/software/eclipse/technology/epp/downloads/release"
# Specify paths to link to the Eclipse installation.
eclipse_link_paths:
- /opt/eclipse
eclipse_plugins: []
# Enable Lombok installation into Eclipse.
eclipse_install_lombok: true
# Set the version of Lombok.
eclipse_lombok_version: "1.18.22"
# Enable Maven installation.
eclipse_install_maven: true
Requirements
- Required pip packages are listed in requirements.txt.
State of Used Roles
The following roles help prepare the system:
Requirement | GitHub | GitLab |
---|---|---|
robertdebock.bootstrap | ||
robertdebock.core_dependencies | ||
robertdebock.java |
Context
This role is part of various compatible roles. For more information, refer to the documentation of these roles here.
Here’s a summary of related roles:
Compatibility
This role has been tested with these container images:
Container | Tags |
---|---|
Amazon | Candidate |
EL | 9 |
Debian | all |
Fedora | all |
Ubuntu | all |
The minimum Ansible version required is 2.12. Tests have been completed for previous, current, and development versions.
If you encounter any issues, please report them on GitHub.
License
This project is licensed under the Apache-2.0.
Author Information
The project is maintained by robertdebock.
You may consider sponsoring me.
ansible-galaxy install robertdebock.eclipse