community.general.ibm_sa_vol – Handle volumes on IBM Spectrum Accelerate Family storage systems.¶
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.ibm_sa_vol
.
Synopsis¶
This module creates or deletes volumes to be used on IBM Spectrum Accelerate Family storage systems.
Requirements¶
The below requirements are needed on the host that executes this module.
python >= 2.7
pyxcli
Parameters¶
Notes¶
Note
This module requires pyxcli python library. Use ‘pip install pyxcli’ in order to get pyxcli.
Examples¶
- name: Create a new volume.
community.general.ibm_sa_vol:
vol: volume_name
pool: pool_name
size: 17
state: present
username: admin
password: secret
endpoints: hostdev-system
- name: Delete an existing volume.
community.general.ibm_sa_vol:
vol: volume_name
state: absent
username: admin
password: secret
endpoints: hostdev-system
Authors¶
Tzur Eliyahu (@tzure)