Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/engonzal/ansible_role_node
- Owner: engonzal
- Created: 2018-10-02T02:00:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-07T14:08:11.000Z (over 5 years ago)
- Last Synced: 2024-11-06T20:40:44.023Z (3 months ago)
- Topics: ansible, ansible-galaxy, ansible-roles, nodejs
- Size: 2.93 KB
- Stars: 0
- Watchers: 2
- 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