fix examples indentation (#9295)

pull/9309/head
Alexei Znamensky 2024-12-22 05:03:12 +13:00 committed by GitHub
parent d2088ccfcc
commit 1ee244f02d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 29 additions and 29 deletions

View File

@ -88,38 +88,38 @@ requirements:
"""
EXAMPLES = r"""
- name: Install "imagemin" Node.js package.
- name: Install "imagemin" Node.js package.
community.general.yarn:
name: imagemin
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:
name: imagemin
version: '5.3.1'
path: /app/location
- name: Install "imagemin" Node.js package globally.
- name: Install "imagemin" Node.js package globally.
community.general.yarn:
name: imagemin
global: true
- name: Remove the globally-installed package "imagemin".
- name: Remove the globally-installed package "imagemin".
community.general.yarn:
name: imagemin
global: true
state: absent
- name: Install "imagemin" Node.js package from custom registry.
- name: Install "imagemin" Node.js package from custom registry.
community.general.yarn:
name: imagemin
registry: 'http://registry.mysite.com'
- name: Install packages based on package.json.
- name: Install packages based on package.json.
community.general.yarn:
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:
path: /app/location
state: latest