In brief, to get the list of clusters below is the playbook task and we have a common module to get the list of VPLEX storage entities called “dellemc_vplex_gatherfacts”
# Gather Facts
---
- name: List the storage objects of VPLEX
hosts: localhost
connection: local
vars:
# Variable parameters
vplexhost: <**************>
vplexuser: <**************>
vplexpassword: <**************>
# Constant parameters
verifycert: false # Sample one to access VPLEX cluster without cert
tasks:
- name: List of clusters in VPLEX
dellemc_vplex_gatherfacts:
vplexhost: "{ { vplexhost }}"
vplexuser: "{ { vplexuser }}"
vplexpassword: "{ { vplexpassword }}"
verifycert: "{ { verifycert }}"
register: clusters
To access the VPLEX with cert set to True, we need to include “ssl_ca_cert” parameter in the task and details on how to retrieve CA certificate is covered in the Product guide under the section “Steps to retrieve CA certificate from VPLEX”
Anil_Degwekar
13 Posts
0
February 17th, 2021 04:00
Hi,
Currently this python library is primarily to be used with the Ansible modules for VPLEX:
https://github.com/dell/ansible-vplex
You will find detailed instructions on how to use the Ansible modules for VPLEX at this location.
Regards
Anil
Mohana Priya
1 Message
0
February 21st, 2021 07:00
Hi,
In brief, to get the list of clusters below is the playbook task and we have a common module to get the list of VPLEX storage entities called “dellemc_vplex_gatherfacts”
# Gather Facts
---
- name: List the storage objects of VPLEX
hosts: localhost
connection: local
vars:
# Variable parameters
vplexhost: <**************>
vplexuser: <**************>
vplexpassword: <**************>
# Constant parameters
verifycert: false # Sample one to access VPLEX cluster without cert
tasks:
- name: List of clusters in VPLEX
dellemc_vplex_gatherfacts:
vplexhost: "{ { vplexhost }}"
vplexuser: "{ { vplexuser }}"
vplexpassword: "{ { vplexpassword }}"
verifycert: "{ { verifycert }}"
register: clusters
To access the VPLEX with cert set to True, we need to include “ssl_ca_cert” parameter in the task and details on how to retrieve CA certificate is covered in the Product guide under the section “Steps to retrieve CA certificate from VPLEX”
vars:
# Variable parameters
vplexhost: <**************>
vplexuser: <**************>
vplexpassword: <**************>
# Constant parameters
verifycert: true ssl_ca_cert: “
Regards,
Mohana Priya.