community.general.vexata_volume module – Manage volumes on Vexata VX100 storage arrays
Note
This module is part of the community.general collection (version 9.4.0).
It is not included in ansible-core
.
To check whether it is installed, run ansible-galaxy collection list
.
To install it, use: ansible-galaxy collection install community.general
.
You need further requirements to be able to use this module,
see Requirements for details.
To use it in a playbook, specify: community.general.vexata_volume
.
Synopsis
Create, deletes or extend volumes on a Vexata VX100 array.
Requirements
The below requirements are needed on the host that executes this module.
Vexata VX100 storage array with VXOS >= v3.5.0 on storage array
vexatapi >= 0.0.1
VEXATA_USER
andVEXATA_PASSWORD
environment variables must be set if user and password arguments are not passed to the module directly.
Parameters
Parameter |
Comments |
---|---|
Vexata VX100 array hostname or IPv4 Address. |
|
Volume name. |
|
Vexata API user password. Uses the |
|
Volume size in M, G, T units. M=2^20, G=2^30, T=2^40 bytes. |
|
Creates/Modifies volume when present or removes when absent. Choices:
|
|
Vexata API user with administrative privileges. Uses the |
|
Allows connection when SSL certificates are not valid. Set to If set to Choices:
|
Attributes
Attribute |
Support |
Description |
---|---|---|
Support: full |
Can run in |
|
Support: none |
Will return details on what has changed (or possibly needs changing in |
Examples
- 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