lvg
Collection: community.general
Full Name: parallax.community.general.lvg
Aliases: community.general.lvg, lvg
Synopsis
Manage LVM volume groups
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| vg | string | yes | The name of the volume group | |
| pvs | string | Comma-separated list of physical volumes for the volume group | ||
| state | string | present | State of the volume group Choices: present, absent | |
| pesize | string | 4 | Physical extent size of the volume group | |
| pv_options | string | Additional options to pass to pvcreate | ||
| vg_options | string | Additional options to pass to vgcreate | ||
| force | bool | false | Force volume group operations |
Example
- name: Create a volume group across two disks
lvg:
vg: data
pvs: /dev/sdb,/dev/sdc
state: present