09.12.2021 · To check whether it is installed, run ansible-galaxy collection list. To install it, use: ansible-galaxy collection install community.general. To use it in a playbook, specify: community.general.aix_lvol. Synopsis. Parameters. Examples. Return Values.
23.12.2021 · To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters. # This playbook will check a wide range of code paths of the Ansible lvol module. # Make sure you adjust `test_vg` and `test_pvs` variables according to the test volume group.
You are reading the latest community version of the Ansible documentation. Red Hat subscribers, select 2.9 in the version selection to the left for the most ...
04.12.2004 · Vendor in the latest upstream lvol module, as it adds a toggle for shrinking. We don't want our volumes to shrink. This is mostly due to this issue: ansible/ansible-modules-extras#428 This vendored module can go away when Ansible 2.2 is out and we update our requirements.
The size of the logical volume, according to lvcreate(8) --size, by default in megabytes or optionally with one of [bBsSkKmMgGtTpPeE] units; or according to ...
25.06.2021 · Using the lvextend command or the lvol module helps you to extend your LV. In this lvol volume, use the resizefs parameter to enlarge an unmounted file system located on the device.. In order to shrink the size of an LV, the syntax is as follows: - name: Extend the logical volume to take all remaining space of the PVs and resize the underlying filesystem lvol: vg: …
09.02.2015 · lvol: vg: firefly lv: test size: 1024 - name: Extend the logical volume to consume all remaining space in the volume group lvol: vg: firefly lv: test size: +100%FREE - name: Extend the logical volume to take all remaining space of the PVs and resize the underlying filesystem lvol: vg: firefly lv: test size: 100%PVS resizefs: true - name: Resize the logical volume to % of VG lvol: vg: …
21.12.2021 · To check whether it is installed, run ansible-galaxy collection list. To install it, use: ansible-galaxy collection install community.general . To use it in a playbook, specify: community.general.lvol .
from ansible.module_utils.basic import AnsibleModule. LVOL_ENV_VARS = dict(. # make sure we use the C locale when running lvol-related commands. LANG='C',.