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

Add host ports on IBM Spectrum Accelerate Family storage systems.

| "added in version" 2.8 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 ports to or removes them from the hosts on IBM Spectrum Accelerate Family storage systems.


Requirements

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Add ports for host.
  ibm_sa_host_ports:
    host: test_host
    iscsi_name: iqn.1994-05.com***
    username: admin
    password: secret
    endpoints: hostdev-system
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Remove ports for host.
  ibm_sa_host_ports:
    host: test_host
    iscsi_name: iqn.1994-05.com***
    username: admin
    password: secret
    endpoints: hostdev-system
    state: absent

Inputs

    
host:
    description:
    - Host name.
    required: true

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

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

fcaddress:
    description:
    - Fiber channel address.
    required: false

iscsi_name:
    description:
    - iSCSI initiator name.
    required: false

num_of_visible_targets:
    description:
    - Number of visible targets.
    required: false