community.general.vexata_eg – Manage export groups on Vexata VX100 storage arrays¶
This plugin is part of the community.general collection (version 2.2.0).
To install it use:
ansible-galaxy collection install community.general.
To use it in a playbook, specify:
Create or delete export groups on a Vexata VX100 array.
An export group is a tuple of a volume group, initiator group and port group that allows a set of volumes to be exposed to one or more hosts through specific array ports.
The below requirements are needed on the host that executes this module.
Vexata VX100 storage array with VXOS >= v3.5.0 on storage array
vexatapi >= 0.0.1
python >= 2.7
VEXATA_USER and VEXATA_PASSWORD environment variables must be set if user and password arguments are not passed to the module directly.
- name: Create export group named db_export. community.general.vexata_eg: name: db_export vg: dbvols ig: dbhosts pg: pg1 state: present array: vx100_ultra.test.com user: admin password: secret - name: Delete export group named db_export community.general.vexata_eg: name: db_export state: absent array: vx100_ultra.test.com user: admin password: secret