community.general.vexata_eg (8.5.0) — module

Manage export groups on Vexata VX100 storage arrays

Authors: Sandeep Kasargod (@vexata)

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

Create or delete export groups on a Vexata VX100 array.

An export group is a tuple of a volume group, initiator group and port group that allows a set of volumes to be exposed to one or more hosts through specific array ports.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Create export group named db_export.
  community.general.vexata_eg:
    name: db_export
    vg: dbvols
    ig: dbhosts
    pg: pg1
    state: present
    array: vx100_ultra.test.com
    user: admin
    password: secret
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete export group named db_export
  community.general.vexata_eg:
    name: db_export
    state: absent
    array: vx100_ultra.test.com
    user: admin
    password: secret

Inputs

    
ig:
    description:
    - Initiator group name.
    type: str

pg:
    description:
    - Port group name.
    type: str

vg:
    description:
    - Volume group name.
    type: str

name:
    description:
    - Export group name.
    required: true
    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 export group when present or delete 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