Cleaning up of gen roles

This commit is contained in:
2025-07-11 19:19:24 +02:00
parent 33276263b0
commit 25e4a50974
101 changed files with 48 additions and 56 deletions

28
roles/dev-java/README.md Normal file
View File

@@ -0,0 +1,28 @@
# Java
## Overview
This README file is for the Java role, which is part of the `cymais`. The role is specifically designed to automate the installation of Java on a system, focusing on the OpenJDK 11 version.
## Contents of the role
The `main.yml` file within the `java` role consists of a single, but crucial task:
1. **Install Java**: This task uses the `community.general.pacman` module to install the `jdk11-openjdk` package. It ensures that Java Development Kit 11 (OpenJDK 11) is present on the system.
## Purpose
The primary objective of this role is to provide a straightforward and efficient method for setting up Java, specifically JDK 11, on personal computers or development environments. This setup is essential for developers who work with Java or run applications that require the Java runtime environment.
## Prerequisites
- **Ansible**: You need to have Ansible installed on your system to use this role.
- **Arch Linux-based System**: The role uses the `pacman` package manager, indicating that it is intended for use on systems based on Arch Linux or its derivatives.
## Running the role
To run this role:
1. Clone the `computer-role` repository to your system.
2. Navigate to the `roles/java` directory within the repository.
3. Execute the role using Ansible. Make sure you have the necessary permissions to install packages on your system.
## Customization
This role is focused on installing JDK 11, but it can be easily modified to install different versions of the JDK or additional Java-related tools as per your requirements.
## Support and Contribution
For support, feedback, or contributions to the role, please open an issue or submit a pull request in the `cymais` repository. Contributions that enhance the role or broaden its applicability are greatly appreciated.

View File

@@ -0,0 +1,23 @@
---
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: "Installs OpenJDK 11 (`jdk11-openjdk`) on Pacman-based systems to provide a Java runtime and development environment."
license: "CyMaIS NonCommercial License (CNCL)"
license_url: "https://s.veen.world/cncl"
company: |
Kevin Veen-Birkenbach
Consulting & Coaching Solutions
https://www.veen.world
galaxy_tags:
- java
- jdk11
- openjdk
repository: "https://github.com/kevinveenbirkenbach/cymais"
issue_tracker_url: "https://github.com/kevinveenbirkenbach/cymais/issues"
documentation: "https://github.com/kevinveenbirkenbach/cymais/tree/main/roles/dev-java"
min_ansible_version: "2.9"
platforms:
- name: Archlinux
versions:
- all
dependencies: []

View File

@@ -0,0 +1,5 @@
- name: install java
community.general.pacman:
name:
- jdk11-openjdk
state: present

View File

@@ -0,0 +1 @@
application_id: java