ansible.builtin.ibm_sa_host (v2.9.27) — module

Adds hosts to or removes them from IBM Spectrum Accelerate Family storage systems.

| "added in version" 2.7 of ansible.builtin"

Authors: Tzur Eliyahu (@tzure)

preview | supported by community

Install Ansible via pip

Install with pip install ansible==2.9.27

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.
  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.
  ibm_sa_host:
    host: host_name
    state: absent
    username: admin
    password: secret
    endpoints: hostdev-system

Inputs

    
host:
    description:
    - Host name.
    required: true

state:
    choices:
    - present
    - absent
    default: present
    description:
    - Host state.
    required: true

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

cluster:
    description:
    - The name of the cluster to include the host.
    required: false

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

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