dellemc.vxrail.dellemc_vxrail_clusterinfo (7.0.240) — module

Retrieve VxRail Cluster Information

| "added in version" 1.0.0 of dellemc.vxrail"

Authors: Himanshu Saxena(@saxenh1) <himanshu.saxena@dell.com>

Install collection

Install with ansible-galaxy collection install dellemc.vxrail:==7.0.240


Add to requirements.yml

  collections:
    - name: dellemc.vxrail
      version: 7.0.240

Description

This module will retrieve VxRail cluster information and basic applicance information list.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Retrives VxRail Cluster Information
    dellemc-vxrail-clusterinfo:
        vxmip: "{{ vxmip }}"
        vcadmin: "{{ vcadmin }}"
        vcpasswd: "{{ vcpasswd }}"
        timeout : "{{ timeout }}"

Inputs

    
vxmip:
    description: The IP address of the VxRail Manager System
    required: true
    type: str

timeout:
    default: 60
    description: Time out value for getting cluster infomation, the default value is 60
      seconds
    required: false
    type: int

vcadmin:
    description: Administrative account of the vCenter Server the VxRail Manager is registered
      to
    required: true
    type: str

vcpasswd:
    description: The password for the administrator account provided in vcadmin
    required: true
    type: str

Outputs

Cluster_Information:
  description: cluster information summary
  returned: always
  sample: "{\n    \"chassises\": [\n                    {\n                      \
    \  \"generation\": 3,\n                        \"health\": \"Healthy\",\n    \
    \                    \"id\": \"V0109010000000\",\n                        \"missing\"\
    : false,\n                        \"model\": \"VxRail E560\",\n              \
    \          \"psnt\": \"V0109010000000\",\n                        \"render_category\"\
    : \"DELL_R640\"\n                    },\n                    {\n             \
    \           \"generation\": 3,\n                        \"health\": \"Healthy\"\
    ,\n                        \"id\": \"V0109020000000\",\n                     \
    \   \"missing\": false,\n                        \"model\": \"VxRail E560\",\n\
    \                        \"psnt\": \"V0109020000000\",\n                     \
    \   \"render_category\": \"DELL_R640\"\n                    },\n             \
    \       {\n                        \"generation\": 3,\n                      \
    \  \"health\": \"Healthy\",\n                        \"id\": \"V0109030000000\"\
    ,\n                        \"missing\": false,\n                        \"model\"\
    : \"VxRail E560\",\n                        \"psnt\": \"V0109030000000\",\n  \
    \                      \"render_category\": \"DELL_R640\"\n                  \
    \  },\n                    {\n                        \"generation\": 3,\n   \
    \                     \"health\": \"Healthy\",\n                        \"id\"\
    : \"V0109040000000\",\n                        \"missing\": false,\n         \
    \               \"model\": \"VxRail E560\",\n                        \"psnt\"\
    : \"V0109040000000\",\n                        \"render_category\": \"DELL_R640\"\
    \n                    }\n    ],\n    \"cluster_id\": \"522181ca-44e0-0533-c291-b46ef7d83dc1\"\
    ,\n    \"device_type\": \"VSPEXBLUE\",\n    \"health\": \"Healthy\",\n    \"last_time\"\
    : \"2021-09-03T14:07:17.968000+00:00\",\n    \"operational_status\": \"ok\",\n\
    \    \"product_type\": \"VSPEXPLUS\",\n    \"suppressed\": false,\n    \"vc_connected\"\
    : true\n\n}"
  type: dict