ansible / ansible.builtin / v2.9.27 / module / emc_vnx_sg_member Manage storage group member on EMC VNX | "added in version" 2.7 of ansible.builtin" Authors: Luca 'remix_tj' Lorenzetto (@remixtj) preview | supported by communityansible.builtin.emc_vnx_sg_member (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
This module manages the members of an existing storage group.
- name: Add lun to storage group emc_vnx_sg_member: name: sg01 sp_address: sp1a.fqdn sp_user: sysadmin sp_password: sysadmin lunid: 100 state: present
- name: Remove lun from storage group emc_vnx_sg_member: name: sg01 sp_address: sp1a.fqdn sp_user: sysadmin sp_password: sysadmin lunid: 100 state: absent
name: description: - Name of the Storage group to manage. required: true lunid: description: - Lun id to be added. required: true state: choices: - present - absent default: present description: - Indicates the desired lunid state. - C(present) ensures specified lunid is present in the Storage Group. - C(absent) ensures specified lunid is absent from Storage Group. sp_user: default: sysadmin description: - Username for accessing SP. type: str sp_address: description: - Address of the SP of target/secondary storage. required: true type: str sp_password: default: sysadmin description: - password for accessing SP. type: str
hluid: description: LUNID that hosts attached to the storage group will see. returned: success type: int