community / community.general / 3.8.10 / module / aix_lvg Manage LVM volume groups on AIX Authors: Kairo Araujo (@kairoaraujo)community.general.aix_lvg (3.8.10) — module
Install with ansible-galaxy collection install community.general:==3.8.10
collections: - name: community.general version: 3.8.10
This module creates, removes or resize volume groups on AIX LVM.
- name: Create a volume group datavg community.general.aix_lvg: vg: datavg pp_size: 128 vg_type: scalable state: present
- name: Removing a volume group datavg community.general.aix_lvg: vg: datavg state: absent
- name: Extending rootvg community.general.aix_lvg: vg: rootvg pvs: hdisk1 state: present
- name: Reducing rootvg community.general.aix_lvg: vg: rootvg pvs: hdisk1 state: absent
vg: description: - The name of the volume group. required: true type: str pvs: description: - List of comma-separated devices to use as physical devices in this volume group. - Required when creating or extending (C(present) state) the volume group. - If not informed reducing (C(absent) state) the volume group will be removed. elements: str type: list force: default: false description: - Force volume group creation. type: bool state: choices: - absent - present - varyoff - varyon default: present description: - Control if the volume group exists and volume group AIX state varyonvg C(varyon) or varyoffvg C(varyoff). type: str pp_size: description: - The size of the physical partition in megabytes. type: int vg_type: choices: - big - normal - scalable default: normal description: - The type of the volume group. type: str