playbooks/roles/vhosts/nodejs/defaults/main.yml

18 lines
439 B
YAML

---
# Node.js version to install (LTS or specific version)
# Examples: "22.x", "20.x", "18.x", "20.11.0", "20.19.6"
nodejs_version: "22.x"
# Install Yarn package manager (default: true)
install_yarn: true
# Yarn version to install (empty uses distro Yarn package)
# Example: "4.12.0"
yarn_version: ""
# Add npm global bin to system PATH (default: true)
add_npm_to_path: true
# NPM configuration
npm_config_prefix: "/usr/local/lib/npm"