Ansible role to help with deploying NodeJS web applications.
Go to file
Dorian 1d486a8b27 Remove the sudo and use become in the role overall. 2016-10-02 15:45:47 -04:00
defaults Add environment variables to the supervisord configuration since you need them for NodeJS apps. 2016-05-20 00:31:47 -04:00
handlers Remove the sudo and use become in the role overall. 2016-10-02 15:45:47 -04:00
meta Add environment variables to the supervisord configuration since you need them for NodeJS apps. 2016-05-20 00:31:47 -04:00
tasks Remove the sudo and use become in the role overall. 2016-10-02 15:45:47 -04:00
tests Initial setup of role based on work from ansible-rookeries. 2016-05-17 08:45:05 -04:00
vars Minor stylistic fixes. 2016-05-19 07:52:46 -04:00
.gitignore Initial setup of role based on work from ansible-rookeries. 2016-05-17 08:45:05 -04:00
.travis.yml Initial setup of role based on work from ansible-rookeries. 2016-05-17 08:45:05 -04:00
README.md Initial setup of role based on work from ansible-rookeries. 2016-05-17 08:45:05 -04:00

README.md

Ansible nodejs-nginx-supervisor

An Ansible role to setup and manage a NodeJS app via supervisor, and served up on a NGINX web server. The goal of this role is to make deployment of a NodeJS app as a simple and sane as possible. Additionally the role uses the underlying nginx-supervisor to provide sane defaults for logging and folder structure setup.

This role is under development and is unstable.

Requirements

Any pre-requisites that may not be covered by Ansible itself or the role should be mentioned here. For instance, if the role uses the EC2 module, it may be a good idea to mention in this section that the boto package is required.

Role Variables

A description of the settable variables for this role should go here, including any variables that are in defaults/main.yml, vars/main.yml, and any variables that can/should be set via parameters to the role. Any variables that are read from other roles and/or the global scope (ie. hostvars, group vars, etc.) should be mentioned here as well.

Dependencies

A list of other roles hosted on Galaxy should go here, plus any details in regards to parameters that may need to be set for other roles, or variables that are used from other roles.

Example Playbook

Including an example of how to use your role (for instance, with variables passed in as parameters) is always nice for users too:

- hosts: servers
  roles:
     - { role: username.rolename, x: 42 }

License

BSD

Author Information

Dorian Pula

Repositories