From 1ee244f02dbf85f5348a9b03007f78446d28c76a Mon Sep 17 00:00:00 2001 From: Alexei Znamensky <103110+russoz@users.noreply.github.com> Date: Sun, 22 Dec 2024 05:03:12 +1300 Subject: [PATCH] fix examples indentation (#9295) --- plugins/modules/yarn.py | 58 ++++++++++++++++++++--------------------- 1 file changed, 29 insertions(+), 29 deletions(-) diff --git a/plugins/modules/yarn.py b/plugins/modules/yarn.py index a2a3c471b7..7109145ce8 100644 --- a/plugins/modules/yarn.py +++ b/plugins/modules/yarn.py @@ -88,41 +88,41 @@ requirements: """ EXAMPLES = r""" - - name: Install "imagemin" Node.js package. - community.general.yarn: - name: imagemin - path: /app/location +- 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 - community.general.yarn: - name: imagemin - version: '5.3.1' - path: /app/location +- 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. - community.general.yarn: - name: imagemin - global: true +- name: Install "imagemin" Node.js package globally. + community.general.yarn: + name: imagemin + global: true - - name: Remove the globally-installed package "imagemin". - community.general.yarn: - name: imagemin - global: true - state: absent +- 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. - community.general.yarn: - name: imagemin - registry: 'http://registry.mysite.com' +- 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. - community.general.yarn: - path: /app/location +- name: Install packages based on package.json. + community.general.yarn: + path: /app/location - - name: Update all packages in package.json to their latest version. - community.general.yarn: - path: /app/location - state: latest +- name: Update all packages in package.json to their latest version. + community.general.yarn: + path: /app/location + state: latest """ RETURN = r"""