idealista.nodejs_role

Logo

Build Status

Node.js Ansible Role

This Ansible role installs the Node.js runtime in a Debian environment.

Getting Started

Follow these instructions to use this role in your Ansible playbook. It will install the Node.js JavaScript runtime when run.

Prerequisites

  • You need to have Ansible version 2.8.6 installed.
  • Your inventory destination should be a Debian environment.

For testing, you should use Molecule with Docker as the driver.

Installation

Create or update your roles dependency file (like requirements.yml):

- src: idealista.nodejs_role
  version: 1.2.0
  name: nodejs

Install the role using the Ansible Galaxy command:

ansible-galaxy install -p roles -r requirements.yml -f

Then, use it in a playbook:

- hosts: someserver
  roles:
    - role: nodejs

Usage

Check the defaults properties file to find available configuration options.

The default version installed is LTS. You can choose a different version if you wish.

Testing

To test, run the following commands:

pipenv install -r test-requirements.txt
pipenv run molecule test

Built With

Ansible

Molecule

Goss

Versioning

For available versions, check the tags in this repository.

You can also see what has changed in each version in the CHANGELOG.md file.

Authors

Check out the list of contributors who helped with this project.

License

Apache 2.0 License

This project is licensed under the Apache 2.0 license - see the LICENSE file for details.

Contributing

For details on our code of conduct and the process for submitting pull requests, please read CONTRIBUTING.md.

Informazioni sul progetto

Node.js JavaScript runtime

Installa
ansible-galaxy install idealista.nodejs_role
Licenza
apache-2.0
Download
5.5k
Proprietario
We release serious projects apart from Ansible Roles.