community.general.aix_lvg – Manage LVM volume groups on AIX¶
Note
This plugin is part of the community.general collection (version 2.5.1).
To install it use: ansible-galaxy collection install community.general
.
To use it in a playbook, specify: community.general.aix_lvg
.
Parameters¶
Notes¶
Note
AIX will permit remove VG only if all LV/Filesystems are not busy.
Module does not modify PP size for already present volume group.
Examples¶
- 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
Authors¶
Kairo Araujo (@kairoaraujo)