Install Node.js and NPM
Debian Bullseye / Bookworm or Ubuntu Precise/Trusty/Xenial.
Specify the version of Node.js you want:
nodejs_version: 6.x
See https://github.com/nodesource/distributions
- hosts: servers
roles:
- { role: f500.nodejs }
Github actions will check this role with ansible-lint. To run this locally, you will need to follow the following steps:
brew install ansible-lint
brew install yamllint
ansible-lint
to fix the linting errors, run:
ansible-lint --fix
LGPL-3.0
Jasper N. Brouwer, [email protected]
Ramon de la Fuente, [email protected]