/ansible-role-node

Ansible role to install and configure node

MIT LicenseMIT

node

Build Status

Ansible role to install NodeJS and Yarn

Role Variables

  • version: The node version to install - should be either 8 or 9, defaults to 8
  • yarn: Object
    • enabled: Boolean to enable/disable yarn install (defaults to true)

Dependencies

Example Playbook

- hosts: localhost
  roles:
    - role: pyslackers.node
      version: '8'
      yarn:
        enabled: true

License

MIT