ibm / ibm.ds8000 / 1.1.0 / module / ds8000_volume_mapping Manage DS8000 volume mapping to hosts | "added in version" 1.0.0 of ibm.ds8000" Authors: Matan Carmeli (@matancarmeli7)ibm.ds8000.ds8000_volume_mapping (1.1.0) — module
Install with ansible-galaxy collection install ibm.ds8000:==1.1.0
collections: - name: ibm.ds8000 version: 1.1.0
Manage DS8000 volume mapping to hosts.
- name: Ensure that a volume is mapped to a host in the storage ibm.ds8000.ds8000_volume_mapping: hostname: "{{ ds8000_host }}" username: "{{ ds8000_username }}" password: "{{ ds8000_password }}" name: host_name_test state: present volume_id: "0000"
- name: Ensure that a volume is not mapped to a host in the storage ibm.ds8000.ds8000_volume_mapping: hostname: "{{ ds8000_host }}" username: "{{ ds8000_username }}" password: "{{ ds8000_password }}" name: host_name_test state: absent volume_id: "0000"
name: description: - The name of the DS8000 host to work with. required: true type: str port: default: 8452 description: - The port number of the DS8000 storage system HMC. type: int state: choices: - present - absent default: present description: - Specify the state the DS8000 volume mapping should be in. type: str hostname: description: - The hostname or IP address of the DS8000 storage system HMC. required: true type: str password: description: - The password for the DS8000 storage system I(username). required: true type: str username: description: - The username for the DS8000 storage system. required: true type: str volume_id: description: - The volume ID of the volume that you want to map to a host. type: str volume_name: description: - The volume name that you want to map to a host. - Notice that different volumes sometimes have the same volume name, so it will map all of them. - To use a specific volume, use I(volume_id) type: str validate_certs: default: true description: - Controls validation of SSL chain of trust. - Set to C(no) to allow connection when SSL certificates are not trusted. type: bool