community / community.general / 2.5.9 / module / ibm_sa_host_ports Add host ports on IBM Spectrum Accelerate Family storage systems. Authors: Tzur Eliyahu (@tzure)community.general.ibm_sa_host_ports (2.5.9) — module
Install with ansible-galaxy collection install community.general:==2.5.9
collections: - name: community.general version: 2.5.9
This module adds ports to or removes them from the hosts on IBM Spectrum Accelerate Family storage systems.
- name: Add ports for host. community.general.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. community.general.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 type: str state: choices: - present - absent default: present description: - Host ports state. 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 fcaddress: description: - Fiber channel address. required: false type: str iscsi_name: description: - iSCSI initiator name. required: false type: str num_of_visible_targets: description: - Number of visible targets. required: false type: str