Ansible role to install NodeJS and Yarn
version
: The node version to install - should be either8
or9
, defaults to 8yarn
: Objectenabled
: Boolean to enable/disable yarn install (defaults totrue
)
- hosts: localhost
roles:
- role: pyslackers.node
version: '8'
yarn:
enabled: true
MIT