mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
[PR #9295/1ee244f0 backport][stable-10] fix examples indentation (#9301)
fix examples indentation (#9295)
(cherry picked from commit 1ee244f02d
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
a56cec8582
commit
07124473cc
1 changed files with 29 additions and 29 deletions
|
@ -88,41 +88,41 @@ requirements:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
EXAMPLES = r"""
|
EXAMPLES = r"""
|
||||||
- name: Install "imagemin" Node.js package.
|
- name: Install "imagemin" Node.js package.
|
||||||
community.general.yarn:
|
community.general.yarn:
|
||||||
name: imagemin
|
name: imagemin
|
||||||
path: /app/location
|
path: /app/location
|
||||||
|
|
||||||
- name: Install "imagemin" Node.js package on version 5.3.1
|
- name: Install "imagemin" Node.js package on version 5.3.1
|
||||||
community.general.yarn:
|
community.general.yarn:
|
||||||
name: imagemin
|
name: imagemin
|
||||||
version: '5.3.1'
|
version: '5.3.1'
|
||||||
path: /app/location
|
path: /app/location
|
||||||
|
|
||||||
- name: Install "imagemin" Node.js package globally.
|
- name: Install "imagemin" Node.js package globally.
|
||||||
community.general.yarn:
|
community.general.yarn:
|
||||||
name: imagemin
|
name: imagemin
|
||||||
global: true
|
global: true
|
||||||
|
|
||||||
- name: Remove the globally-installed package "imagemin".
|
- name: Remove the globally-installed package "imagemin".
|
||||||
community.general.yarn:
|
community.general.yarn:
|
||||||
name: imagemin
|
name: imagemin
|
||||||
global: true
|
global: true
|
||||||
state: absent
|
state: absent
|
||||||
|
|
||||||
- name: Install "imagemin" Node.js package from custom registry.
|
- name: Install "imagemin" Node.js package from custom registry.
|
||||||
community.general.yarn:
|
community.general.yarn:
|
||||||
name: imagemin
|
name: imagemin
|
||||||
registry: 'http://registry.mysite.com'
|
registry: 'http://registry.mysite.com'
|
||||||
|
|
||||||
- name: Install packages based on package.json.
|
- name: Install packages based on package.json.
|
||||||
community.general.yarn:
|
community.general.yarn:
|
||||||
path: /app/location
|
path: /app/location
|
||||||
|
|
||||||
- name: Update all packages in package.json to their latest version.
|
- name: Update all packages in package.json to their latest version.
|
||||||
community.general.yarn:
|
community.general.yarn:
|
||||||
path: /app/location
|
path: /app/location
|
||||||
state: latest
|
state: latest
|
||||||
"""
|
"""
|
||||||
|
|
||||||
RETURN = r"""
|
RETURN = r"""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue