Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/engonzal/ansible_role_node

Ansible role to install Nodejs
https://github.com/engonzal/ansible_role_node

ansible ansible-galaxy ansible-roles nodejs

Last synced: about 1 month ago
JSON representation

Ansible role to install Nodejs

Awesome Lists containing this project

README

        

### Ansible Roles: Node

Role to install the Node Version Manager and Nodejs

#### Role Variables
To install node under the ansible users directory (sudo not required):
```
node_version: v8.12.0
nvm_version: v0.33.11
```

Optionally change the user NVM installs as:
```
nvm_install_user: "{{ ansible_user_id }}"
```

#### Example Playbook

```
- hosts: servers
vars:
package_list:
- curl
- htop
roles:
- { role: engonzal.ansible_role_node, tags: [ 'node'] }
```

#### License

BSD

#### Author

Noe Gonzalez - http://engonzal.com