community / community.general / 0.1.1 / module / ibm_sa_host_ports Add host ports on IBM Spectrum Accelerate Family storage systems. Authors: Tzur Eliyahu (@tzure) preview | supported by communitycommunity.general.ibm_sa_host_ports (0.1.1) — module
Install with ansible-galaxy collection install community.general:==0.1.1
collections: - name: community.general version: 0.1.1
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