[PR #10363/1a7aafc0 backport][stable-10] lvg examples: use YAML lists (#10381)
Some checks failed
EOL CI / EOL Sanity (Ⓐ2.15) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py2.7) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.10) (push) Has been cancelled
EOL CI / EOL Units (Ⓐ2.15+py3.5) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+alpine3+py:azp/posix/3/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/1/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/2/) (push) Has been cancelled
EOL CI / EOL I (Ⓐ2.15+fedora37+py:azp/posix/3/) (push) Has been cancelled
nox / Run extra sanity tests (push) Has been cancelled

lvg examples: use YAML lists (#10363)

Use YAML lists.

(cherry picked from commit 1a7aafc037)

Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
patchback[bot] 2025-07-11 07:26:07 +02:00 committed by GitHub
commit 63a8f1e89f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -123,7 +123,9 @@ EXAMPLES = r"""
- name: Create or resize a volume group on top of /dev/sdb1 and /dev/sdc5. - name: Create or resize a volume group on top of /dev/sdb1 and /dev/sdc5.
community.general.lvg: community.general.lvg:
vg: vg.services vg: vg.services
pvs: /dev/sdb1,/dev/sdc5 pvs:
- /dev/sdb1
- /dev/sdc5
- name: Remove a volume group with name vg.services - name: Remove a volume group with name vg.services
community.general.lvg: community.general.lvg:
@ -163,7 +165,9 @@ EXAMPLES = r"""
community.general.lvg: community.general.lvg:
state: inactive state: inactive
vg: vg.services vg: vg.services
pvs: /dev/sdb1,/dev/sdc5 pvs:
- /dev/sdb1
- /dev/sdc5
reset_vg_uuid: true reset_vg_uuid: true
reset_pv_uuid: true reset_pv_uuid: true
""" """