advertine.nodejs

NodeJS

Ansible role for installing nodejs from NodeSource RPMs

https://github.com/nodesource/distributions

Supported node versions

  • 0.10.x
  • 0.12.x
  • 4.x
  • 5.x
  • 6.x
  • 7.x
  • 8.x

Requirements

Currently only for:

  • CentOS 6
  • CentOS 7
  • Amazon Linux

Pull requests are welcome.

Role Variables

  • nodejs_version: 6.11.2 a supported nodejs version
  • nodejs_global_packages: [ ] names of global npm packages to install

Example Playbook

- hosts: example
  roles:
  - role: advertine.nodejs
    nodejs_version: "8.4.0"
    nodejs_global_packages:
      - grunt-cli
      - clean-css

License

MIT

Author Information

Rafał Michalski

About

Ansible role for installing nodejs from NodeSource RPMs

Install
ansible-galaxy install advertine.nodejs
GitHub repository
License
Unknown
Downloads
291
Owner