ANSIBLE.LVOL(3)

NAME
lvol - Configure LVM logical volumes

DESCRIPTION

This module creates, removes or resizes logical volumes.

OPTIONS

lv  The name of the logical volume.(required)

size
    The size of the logical volume in megabytes.

state
    Control if the logical volume exists. Choices: present,absent. (default: present)

vg  The volume group this logical volume is part of.(required)."

NOTES

Filesystems on top of the volume are not resized.

EXAMPLES

Create a logical volume of 512m.
lvol vg=firefly lv=test size=512

Extend the logical volume to 1024m.
lvol vg=firefly lv=test size=1024

Reduce the logical volume to 512m
lvol vg=firefly lv=test size=512

Remove the logical volume.
lvol vg=firefly lv=test state=absent
None

AUTHOR
Jeroen Hoekx

SEE ALSO
ansible(1), http://ansible.github.com/modules.html#lvol