mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
[PR #11055/a9a4f890 backport][stable-12] remove required=false from docs (#11065)
remove required=false from docs (#11055)
(cherry picked from commit a9a4f89033)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -32,54 +32,45 @@ options:
|
||||
- The name of a Node.js library to install.
|
||||
- If omitted all packages in package.json are installed.
|
||||
- To globally install from local Node.js library. Prepend C(file:) to the path of the Node.js library.
|
||||
required: false
|
||||
path:
|
||||
type: path
|
||||
description:
|
||||
- The base path where Node.js installs libraries.
|
||||
- This is where the C(node_modules) folder lives.
|
||||
required: false
|
||||
version:
|
||||
type: str
|
||||
description:
|
||||
- The version of the library to be installed.
|
||||
- Must be in semver format. If "latest" is desired, use O(state) arg instead.
|
||||
required: false
|
||||
global:
|
||||
description:
|
||||
- Install the Node.js library globally.
|
||||
required: false
|
||||
default: false
|
||||
type: bool
|
||||
executable:
|
||||
type: path
|
||||
description:
|
||||
- The executable location for yarn.
|
||||
required: false
|
||||
ignore_scripts:
|
||||
description:
|
||||
- Use the C(--ignore-scripts) flag when installing.
|
||||
required: false
|
||||
type: bool
|
||||
default: false
|
||||
production:
|
||||
description:
|
||||
- Install dependencies in production mode.
|
||||
- C(yarn) ignores any dependencies under devDependencies in C(package.json).
|
||||
required: false
|
||||
type: bool
|
||||
default: false
|
||||
registry:
|
||||
type: str
|
||||
description:
|
||||
- The registry to install modules from.
|
||||
required: false
|
||||
state:
|
||||
type: str
|
||||
description:
|
||||
- Installation state of the named Node.js library.
|
||||
- If V(absent) is selected, a O(name) option must be provided.
|
||||
required: false
|
||||
default: present
|
||||
choices: ["present", "absent", "latest"]
|
||||
requirements:
|
||||
|
||||
Reference in New Issue
Block a user