ansible / ansible.builtin / v2.8.20 / module / ibm_sa_vol_map Handles volume mapping 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_vol_map (v2.8.20) — module
pip
Install with pip install ansible==2.8.20
This module maps volumes to or unmaps them from the hosts on IBM Spectrum Accelerate Family storage systems.
- name: Map volume to host. ibm_sa_vol_map: vol: volume_name lun: 1 host: host_name username: admin password: secret endpoints: hostdev-system state: present
- name: Map volume to cluster. ibm_sa_vol_map: vol: volume_name lun: 1 cluster: cluster_name username: admin password: secret endpoints: hostdev-system state: present
- name: Unmap volume. ibm_sa_vol_map: host: host_name username: admin password: secret endpoints: hostdev-system state: absent
lun: description: - The LUN identifier. required: false vol: description: - Volume name. required: true host: description: - Maps the volume to a host. required: false state: choices: - present - absent default: present description: - When the state is present the volume is mapped. When the state is absent, the volume is meant to be unmapped. required: true cluster: description: - Maps the volume to a cluster. required: false override: description: - Overrides the existing volume mapping. required: false 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