mirror of
https://github.com/kevinveenbirkenbach/computer-playbook.git
synced 2025-05-14 17:24:57 +02:00
35 lines
952 B
Markdown
35 lines
952 B
Markdown
# 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) |