This module creates, removes or resizes volume groups.

Options

namedescriptionrequiredchoices
vg The name of the volume group. true
pvs List of comma-separated devices to use as physical devices in this volume group. Required when creating or resizing volume group.
pesize The size of the physical extent in megabytes. Must be a power of 2.
vg_options Additional options to pass to C(vgcreate) when creating the volume group.
state Control if the volume group exists.
  • present
  • absent
force If yes, allows to remove volume group with logical volumes.
  • yes
  • no

Author

Alexander Bulimov (@abulimov)