Added draft for CSP health checker

This commit is contained in:
2025-05-13 09:10:20 +02:00
parent 72baa9ea28
commit 23496f2fab
18 changed files with 424 additions and 0 deletions

35
roles/nodejs/README.md Normal file
View File

@@ -0,0 +1,35 @@
# Node.js
## Description
This Ansible role installs Node.js on the target system using the native package manager.
## Overview
Optimized for Archlinux and Debian-based systems, this role ensures the presence of Node.js for use in Node-based applications or scripts. It serves as a foundational role for projects that depend on Node.js runtimes or utilities like Puppeteer.
## Features
- **Node.js Installation:** Installs the latest Node.js version available via the system's package manager.
- **Idempotent Execution:** Ensures Node.js is only installed when missing.
## Usage
Include this role before running any tasks or roles that depend on Node.js:
```yaml
- name: Ensure Node.js is available
roles:
- nodejs
````
## License
CyMaIS NonCommercial License (CNCL)
[https://s.veen.world/cncl](https://s.veen.world/cncl)
## Author
Kevin Veen-Birkenbach
Consulting & Coaching Solutions
[https://www.veen.world](https://www.veen.world)

View File

@@ -0,0 +1,24 @@
galaxy_info:
author: "Kevin Veen-Birkenbach"
description: "Installs Node.js"
license: "CyMaIS NonCommercial License (CNCL)"
license_url: "https://s.veen.world/cncl"
company: |
Kevin Veen-Birkenbach
Consulting & Coaching Solutions
https://www.veen.world
min_ansible_version: "2.9"
platforms:
- name: Archlinux
versions: [all]
- name: Debian
versions: [all]
galaxy_tags:
- nodejs
- javascript
- runtime
- automation
repository: "https://s.veen.world/cymais"
issue_tracker_url: "https://s.veen.world/cymaisissues"
documentation: "https://s.veen.world/cymais"
dependencies: []

View File

@@ -0,0 +1,4 @@
- name: Ensure Node.js is installed
package:
name: nodejs
state: present