yarn

Collection: community.general

Full Name: parallax.community.general.yarn

Aliases: community.general.yarn, yarn

Synopsis

Manage yarn

Parameters

NameTypeRequiredDefaultDescription
namestringThe name of a node.js library to install
statestringpresentThe state of the node.js library (present, absent, latest)
globalboolfalseInstall the node.js library globally
pathstringThe base path where to install the node.js library
versionstringThe version to be installed
productionboolfalseInstall dependencies in production mode
registrystringThe registry to install modules from
executablestringyarnThe executable location for yarn

Example

- name: Example yarn task
  yarn:
    name: <your_name>
    state: present