community.general.ibm_sa_vol (8.5.0) — module

Handle volumes on IBM Spectrum Accelerate Family storage systems

Authors: Tzur Eliyahu (@tzure)

Install collection

Install with ansible-galaxy collection install community.general:==8.5.0


Add to requirements.yml

  collections:
    - name: community.general
      version: 8.5.0

Description

This module creates or deletes volumes to be used on IBM Spectrum Accelerate Family storage systems.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- 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
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete an existing volume.
  community.general.ibm_sa_vol:
    vol: volume_name
    state: absent
    username: admin
    password: secret
    endpoints: hostdev-system

Inputs

    
vol:
    description:
    - Volume name.
    required: true
    type: str

pool:
    description:
    - Volume pool.
    required: false
    type: str

size:
    description:
    - Volume size.
    required: false
    type: str

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Volume state.
    type: str

password:
    description:
    - Password for username on the spectrum accelerate storage system.
    required: true
    type: str

username:
    description:
    - Management user on the spectrum accelerate storage system.
    required: true
    type: str

endpoints:
    description:
    - The hostname or management IP of Spectrum Accelerate storage system.
    required: true
    type: str