ansible / ansible.builtin / v2.9.27 / module / aix_lvg Manage LVM volume groups on AIX | "added in version" 2.8 of ansible.builtin" Authors: Kairo Araujo (@kairoaraujo) preview | supported by communityansible.builtin.aix_lvg (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
This module creates, removes or resize volume groups on AIX LVM.
- name: Create a volume group datavg aix_lvg: vg: datavg pp_size: 128 vg_type: scalable state: present
- name: Removing a volume group datavg aix_lvg: vg: datavg state: absent
- name: Extending rootvg aix_lvg: vg: rootvg pvs: hdisk1 state: present
- name: Reducing rootvg 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. 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