mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
[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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user