ansible / ansible.builtin / v2.9.27 / module / ibm_sa_host_ports 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 communityansible.builtin.ibm_sa_host_ports (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
This module adds ports to or removes them from the hosts on IBM Spectrum Accelerate Family storage systems.
- 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
- 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
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