mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-03-26 21:33:12 +00:00
[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 1a7aafc037)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
@@ -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
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user