[PR #10336/dd135920 backport][stable-11] lvg: add docs example for preserving existing PVs in a volume group using remove_extra_pvs: false (#10356)

lvg: add docs example for preserving existing PVs in a volume group using `remove_extra_pvs: false` (#10336)

(cherry picked from commit dd13592034)

Co-authored-by: Aditya Putta <puttaa@yahoo.com>
This commit is contained in:
patchback[bot]
2025-07-06 13:34:30 +02:00
committed by GitHub
parent a68a8511c8
commit 0072cb27d4

View File

@@ -146,6 +146,13 @@ EXAMPLES = r"""
state: active
vg: vg.services
- name: Add new PVs to volume group without removing existing ones
community.general.lvg:
vg: vg.services
pvs: /dev/sdb1,/dev/sdc1
remove_extra_pvs: false
state: present
- name: Reset a volume group UUID
community.general.lvg:
state: inactive