community.general.ibm_sa_host (8.5.0) — module

Adds hosts to or removes them from 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 adds hosts to or removes them from IBM Spectrum Accelerate Family storage systems.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Define new host.
  community.general.ibm_sa_host:
    host: host_name
    state: present
    username: admin
    password: secret
    endpoints: hostdev-system
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Delete host.
  community.general.ibm_sa_host:
    host: host_name
    state: absent
    username: admin
    password: secret
    endpoints: hostdev-system

Inputs

    
host:
    description:
    - Host name.
    required: true
    type: str

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

domain:
    description:
    - The domains the cluster will be attached to. To include more than one domain, separate
      domain names with commas. To include all existing domains, use an asterisk ("*").
    required: false
    type: str

cluster:
    description:
    - The name of the cluster to include the host.
    required: false
    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

iscsi_chap_name:
    description:
    - The host's CHAP name identifier
    required: false
    type: str

iscsi_chap_secret:
    description:
    - The password of the initiator used to authenticate to the system when CHAP is enable
    required: false
    type: str