community / community.general / 1.3.11 / module / ibm_sa_host Adds hosts to or removes them from IBM Spectrum Accelerate Family storage systems. Authors: Tzur Eliyahu (@tzure)community.general.ibm_sa_host (1.3.11) — module
Install with ansible-galaxy collection install community.general:==1.3.11
collections: - name: community.general version: 1.3.11
This module adds hosts to or removes them from IBM Spectrum Accelerate Family storage systems.
- name: Define new host. community.general.ibm_sa_host: host: host_name state: present username: admin password: secret endpoints: hostdev-system
- name: Delete host. community.general.ibm_sa_host: host: host_name state: absent username: admin password: secret endpoints: hostdev-system
host: description: - Host name. required: true type: str state: choices: - present - absent default: present description: - Host state. type: str 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 type: str cluster: description: - The name of the cluster to include the host. required: false 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 iscsi_chap_name: description: - The host's CHAP name identifier required: false type: str iscsi_chap_secret: description: - The password of the initiator used to authenticate to the system when CHAP is enable required: false type: str