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: 3 months ago
JSON representation
Ansible role to install Nodejs
- Host: GitHub
- URL: https://github.com/engonzal/ansible_role_node
- Owner: engonzal
- Created: 2018-10-02T02:00:51.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2019-10-07T14:08:11.000Z (almost 7 years ago)
- Last Synced: 2025-05-15T07:41:38.157Z (about 1 year ago)
- Topics: ansible, ansible-galaxy, ansible-roles, nodejs
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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