vevmesteren.nodejs-forever
#nodejs - forever - initd-forever
An Ansible role that installs nodejs and runs default or your application on Ubuntu 12.04 - 17.10
- If you just want to test Node, this role got you covered, it comes with a simple Hello World app
- NodeJS is added as service (using NPM packages) allowing you to service start|stop it
Node packages come from here; https://github.com/nodesource/distributions
Dependencies
git - https://github.com/geerlingguy/ansible-role-git
Role Variables
Available variables are listed below, along with default values:
####Default Node.js bin path nodejs: add_node_modules_bin_to_path: false npm: {}
####Change when deploying to production node_env: 'development'
####Default root nodeapp_chdir: '/'
####Default Hello world app that comes with role, add your own apps here nodeapps:
- { id: 'nodeapp', path: '/home/nodeapp/', app: 'server.js' }
####Required global packages to create and run base application feel free to add your own packages here nodeapp_npm:
- forever
- git+https://github.com/vevmesteren/initd-forever.git
License
MIT
About
An Ansible role that installs nodejs and runs default or your application on Ubuntu 12.04 - 15.10. If you just want to test Node, this role got you covered, it comes with a simple Hello World app. NodeJS is added as service (using NPM packages) allowing y
Install
ansible-galaxy install vevmesteren.nodejs-foreverLicense
Unknown
Downloads
163
Owner
"Always program as if the person who will be maintaining your program is a violent psychopath that knows where you live."
- John F. Woods
