community / community.general / 0.1.1 / module / emc_vnx_sg_member Manage storage group member on EMC VNX Authors: Luca 'remix_tj' Lorenzetto (@remixtj) preview | supported by communitycommunity.general.emc_vnx_sg_member (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 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