community / community.general / 0.1.1 / module / ibm_sa_vol_map Handles volume mapping on IBM Spectrum Accelerate Family storage systems. Authors: Tzur Eliyahu (@tzure) preview | supported by communitycommunity.general.ibm_sa_vol_map (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 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