This role will install nodejs on ubuntu 14.04
- Ubuntu 14.04
The defaults/main.yml
should be pretty clear on the usage and values.
The tests in the respository should be pretty straight forward, but here are some examples:
playbook.yml:
- name: Install and run Nodejs
hosts: all
sudo: True
vars:
nodejs_global_packages: grunt
roles:
- { role: ansible-nodejs }
- Extract supervisor to it's own role
- Extend to other distros