mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-08-29 15:06:26 +02:00
Shorted generic- to gen-
This commit is contained in:
25
roles/gen-nodejs/README.md
Normal file
25
roles/gen-nodejs/README.md
Normal file
@@ -0,0 +1,25 @@
|
||||
# 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.
|
||||
|
||||
## 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)
|
24
roles/gen-nodejs/meta/main.yml
Normal file
24
roles/gen-nodejs/meta/main.yml
Normal 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: []
|
4
roles/gen-nodejs/tasks/main.yml
Normal file
4
roles/gen-nodejs/tasks/main.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
- name: Ensure Node.js is installed
|
||||
package:
|
||||
name: nodejs
|
||||
state: present
|
Reference in New Issue
Block a user