yarn
Collection: community.general
Full Name: parallax.community.general.yarn
Aliases: community.general.yarn, yarn
Synopsis
Manage yarn
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| name | string | The name of a node.js library to install | ||
| state | string | present | The state of the node.js library (present, absent, latest) | |
| global | bool | false | Install the node.js library globally | |
| path | string | The base path where to install the node.js library | ||
| version | string | The version to be installed | ||
| production | bool | false | Install dependencies in production mode | |
| registry | string | The registry to install modules from | ||
| executable | string | yarn | The executable location for yarn |
Example
- name: Example yarn task
yarn:
name: <your_name>
state: present