community / community.general / 8.5.0 / module / vexata_volume Manage volumes on Vexata VX100 storage arrays Authors: Sandeep Kasargod (@vexata)community.general.vexata_volume (8.5.0) — module
Install with ansible-galaxy collection install community.general:==8.5.0
collections: - name: community.general version: 8.5.0
Create, deletes or extend volumes on a Vexata VX100 array.
- name: Create new 2 TiB volume named foo community.general.vexata_volume: name: foo size: 2T state: present array: vx100_ultra.test.com user: admin password: secret
- name: Expand volume named foo to 4 TiB community.general.vexata_volume: name: foo size: 4T state: present array: vx100_ultra.test.com user: admin password: secret
- name: Delete volume named foo community.general.vexata_volume: name: foo state: absent array: vx100_ultra.test.com user: admin password: secret
name: description: - Volume name. required: true type: str size: description: - Volume size in M, G, T units. M=2^20, G=2^30, T=2^40 bytes. type: str user: description: - Vexata API user with administrative privileges. - Uses the E(VEXATA_USER) environment variable as a fallback. required: false type: str array: description: - Vexata VX100 array hostname or IPv4 Address. required: true type: str state: choices: - present - absent default: present description: - Creates/Modifies volume when present or removes when absent. type: str password: description: - Vexata API user password. - Uses the E(VEXATA_PASSWORD) environment variable as a fallback. required: false type: str validate_certs: default: false description: - Allows connection when SSL certificates are not valid. Set to V(false) when certificates are not trusted. - If set to V(true), please make sure Python >= 2.7.9 is installed on the given machine. required: false type: bool