ibm.ds8000.ds8000_marray_info (1.1.0) — module

Return info on DS8000 managed arrays

| "added in version" 1.1.0 of ibm.ds8000"

Authors: NjM3MjY5NzAgNzA3MzA3 (@NjM3MjY5NzAgNzA3MzA3)

Install collection

Install with ansible-galaxy collection install ibm.ds8000:==1.1.0


Add to requirements.yml

  collections:
    - name: ibm.ds8000
      version: 1.1.0

Description

Return information pertaining to DS8000 managed arrays.

If the optional parameters are not set, information on all managed arrays on the DS8000 storage system will be returned.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get all the marrays under host
  ibm.ds8000.ds8000_marray_info:
    hostname: "{{ ds8000_host }}"
    username: "{{ ds8000_username }}"
    password: "{{ ds8000_password }}"
    id: MA1
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: get all the marrays
  ibm.ds8000.ds8000_marray_info:
    hostname: "{{ ds8000_host }}"
    username: "{{ ds8000_username }}"
    password: "{{ ds8000_password }}"

Inputs

    
id:
    aliases:
    - marray
    description:
    - The marray id.
    type: str

port:
    default: 8452
    description:
    - The port number of the DS8000 storage system HMC.
    type: int

hostname:
    description:
    - The hostname or IP address of the DS8000 storage system HMC.
    required: true
    type: str

password:
    description:
    - The password for the DS8000 storage system I(username).
    required: true
    type: str

username:
    description:
    - The username for the DS8000 storage system.
    required: true
    type: str

validate_certs:
    default: true
    description:
    - Controls validation of SSL chain of trust.
    - Set to C(no) to allow connection when SSL certificates are not trusted.
    type: bool

Outputs

marrays:
  contains:
    disk_class:
      description: The class of disks that are members of the array.
      sample: ''
      type: str
    id:
      description: The managed array ID.
      sample: MA1
      type: str
    pool:
      description: The pool the managed array belongs to.
      sample: P0
      type: str
  description: A list of dictionaries describing the marrays.
  elements: dict
  returned: success
  sample: "[\n    {\n        \"id\": \"MA1\",\n        \"disk_class\": \"\",\n   \
    \     \"pool\": \"P0\"\n    }\n]\n"
  type: list