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

This commit is contained in:
Aditya Putta 2025-07-05 00:17:00 -05:00 committed by GitHub
parent 79509a533d
commit dd13592034
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