From 63a8f1e89fb1262d99c85503d8b4047e17244ea8 Mon Sep 17 00:00:00 2001 From: "patchback[bot]" <45432694+patchback[bot]@users.noreply.github.com> Date: Fri, 11 Jul 2025 07:26:07 +0200 Subject: [PATCH] [PR #10363/1a7aafc0 backport][stable-10] lvg examples: use YAML lists (#10381) lvg examples: use YAML lists (#10363) Use YAML lists. (cherry picked from commit 1a7aafc037b1a9326d2d666e18197d2ff3241ecd) Co-authored-by: Felix Fontein --- plugins/modules/lvg.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/modules/lvg.py b/plugins/modules/lvg.py index 36ba2c4c3e..1051664dd3 100644 --- a/plugins/modules/lvg.py +++ b/plugins/modules/lvg.py @@ -123,7 +123,9 @@ EXAMPLES = r""" - name: Create or resize a volume group on top of /dev/sdb1 and /dev/sdc5. community.general.lvg: vg: vg.services - pvs: /dev/sdb1,/dev/sdc5 + pvs: + - /dev/sdb1 + - /dev/sdc5 - name: Remove a volume group with name vg.services community.general.lvg: @@ -163,7 +165,9 @@ EXAMPLES = r""" community.general.lvg: state: inactive vg: vg.services - pvs: /dev/sdb1,/dev/sdc5 + pvs: + - /dev/sdb1 + - /dev/sdc5 reset_vg_uuid: true reset_pv_uuid: true """