mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-04-01 01:46:18 +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:
parent
76de353377
commit
63a8f1e89f
1 changed files with 6 additions and 2 deletions
|
|
@ -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
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue