1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-05-02 08:22:52 +00:00

Adjust booleans in packaging modules. (#5154)

This commit is contained in:
Felix Fontein 2022-08-24 19:59:13 +02:00 committed by GitHub
parent be2de15c66
commit ddc989ec6d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
38 changed files with 242 additions and 228 deletions

View file

@ -44,7 +44,7 @@ options:
description:
- Install the node.js library globally
required: false
default: no
default: false
type: bool
executable:
type: path
@ -56,14 +56,14 @@ options:
- Use the --ignore-scripts flag when installing.
required: false
type: bool
default: no
default: false
production:
description:
- Install dependencies in production mode.
- Yarn will ignore any dependencies under devDependencies in package.json
required: false
type: bool
default: no
default: false
registry:
type: str
description:
@ -96,12 +96,12 @@ EXAMPLES = '''
- name: Install "imagemin" node.js package globally.
community.general.yarn:
name: imagemin
global: yes
global: true
- name: Remove the globally-installed package "imagemin".
community.general.yarn:
name: imagemin
global: yes
global: true
state: absent
- name: Install "imagemin" node.js package from custom registry.