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

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:27 +02:00 committed by GitHub
parent f3828ba9ca
commit 452d6f2fa7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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