The Red Hat Ecosystem Catalog is the official source for discovering and learning more about the Red Hat Ecosystem of both Red Hat and certified third-party products and services.
We’re the world’s leading provider of enterprise open source solutions—including Linux, cloud, container, and Kubernetes. We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.
15Modules3Roles17Plugins
Ansible Modules for Dell EMC VPLEX
The Ansible Modules for Dell EMC VPLEX allow to provision the storage volume.
The capabilities of Ansible modules are managing storage views, initiators, ports, consistency groups, virtual volumes, devices, extents, data migration jobs and storage volumes and to get information of recently configured resources through gather facts. The options available for each capability are list, show, create, delete and modify. These tasks can be executed by running simple playbooks written in yaml syntax.
Ansible modules for VPLEX are supported by Dell EMC and are provided under the terms of the license attached to the source code. Dell EMC does not provide support for any source code modifications. For any Ansible module issues, questions or feedback, join the Dell EMC Automation community.
The modules are written in such a way that all requests are idempotent. It essentially means that the result of a successfully performed request is independent of the number of times it is executed.
git clone https://github.com/dell/python-vplex.git
Export the python path with vplexapi export PYTHONPATH='{$PYTHONPATH}:'
Download the tar build and follow the below command to install the collection anywhere in your system: ansible-galaxy collection install dellemc-vplex-1.3.0.tar.gz -p ./collections
Set the environment variable: export ANSIBLE_COLLECTIONS_PATHS=$ANSIBLE_COLLECTIONS_PATHS:/collections
In order to use any Ansible module, ensure that the importing of proper FQCN(Fully Qualified Collection Name) must be embedded in the playbook. Below example can be referred. collections: - dellemc.vplex
For generating Ansible documentaion for a specific module, embed the FQCN before the module name. Below example can be referred. ansible-doc dellemc.vplex.dellemc_vplex_gatherfacts
The Ansible server must be configured with Python library for VPLEX to run the Ansible playbooks. The Documents provide information on different Ansible modules along with their functions and syntax. The parameters table in the Product Guide provides information on various parameters which needs to be configured before running the modules.
Each module returns the updated state and details of the entity. For example, if you are using the device module, all calls will return the updated details of the device. Sample result is shown in each module's documentation.
Whenever a task fails the script vplexlog_collection.py collects the vplexapi logs, ansible module logs, the system logs and saves them in a folder Logs/Logs_ in the current execution path.
| Product |
|---|
| 2.4 |
| 2.5 |