dellemc.vxrail.dellemc_vxrail_chassis_v4 (1.3.0) — module

Get chassis list & every node information for each chassis or the user-specified VxRail chassis.

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

Authors: VxRail Development Team(@VxRailDevTeam) <ansible.team@dell.com>

Install collection

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


Add to requirements.yml

  collections:
    - name: dellemc.vxrail
      version: 1.3.0

Description

This module will call v4/chassis api to get chassis list & every node information for each chassis and provide more host level information. If "chassis_id" is provided, this module will call v4/chassis/{chassis_id} to get information about the user-specified VxRail chassis.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Retrives All VxRail Chassis Information
    dellemc_vxrail_chassis_v4:
        vxmip: "{{ vxmip }}"
        vcadmin: "{{ vcadmin }}"
        vcpasswd: "{{ vcpasswd }}"

Inputs

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

timeout:
    default: 60
    description: Time out value for getting chassis 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

chassis_id:
    default: all
    description: chassis id to retrieve specific chassis information
    required: false
    type: str

Outputs

Chassis_Information:
  description: chassis information summary
  returned: always
  sample: "{\n            \"description\": \"Hubble\",\n            \"generation\"\
    : 3,\n            \"health\": \"Critical\",\n            \"hosts\": [\n      \
    \          {\n                    \"firmware_information\": {\n              \
    \          \"bios_revision\": \"2.10.2\",\n                        \"bmc_revision\"\
    : \"4.40.10.00\",\n                        \"boss_version\": null,\n         \
    \               \"cpld_version\": \"1.1.0\",\n                        \"expander_bpf_version\"\
    : null,\n                        \"hba_version\": \"16.17.01.00\",\n         \
    \               \"nonexpander_bpf_version\": \"4.35\"\n                    },\n\
    \                    \"geo_location\": {\n                        \"order_number\"\
    : 1,\n                        \"rack_name\": \"c1-esx01\"\n                  \
    \  },\n                    \"health\": \"Critical\",\n                    \"hostname\"\
    : \"c1-esx01.rackh18.local\",\n                    \"id\": \"9GMGHL2\",\n    \
    \                \"led_status\": \"Blue:On\",\n                    \"manufacturer\"\
    : \"Dell Inc.\",\n                    \"missing\": false,\n                  \
    \  \"name\": \"c1-esx01.rackh18.local\",\n                    \"operational_status\"\
    : \"normal\",\n                    \"power_status\": \"on\",\n               \
    \     \"psnt\": \"9GMGHL20000000\",\n                    \"slot\": 1,\n      \
    \              \"sn\": \"9GMGHL2\",\n                    \"tpm_present\": false\n\
    \                },\n                {\n                    \"firmware_information\"\
    : {\n                        \"bios_revision\": \"2.10.2\",\n                \
    \        \"bmc_revision\": \"4.40.10.00\",\n                        \"boss_version\"\
    : null,\n                        \"cpld_version\": \"1.1.0\",\n              \
    \          \"expander_bpf_version\": null,\n                        \"hba_version\"\
    : \"16.17.01.00\",\n                        \"nonexpander_bpf_version\": \"4.35\"\
    \n                    },\n                    \"geo_location\": {\n          \
    \              \"order_number\": 2,\n                        \"rack_name\": \"\
    c1-esx01\"\n                    },\n                    \"health\": \"Critical\"\
    ,\n                    \"hostname\": \"c1-esx02.rackh18.local\",\n           \
    \         \"id\": \"9GMHHL2\",\n                    \"led_status\": \"Blue:On\"\
    ,\n                    \"manufacturer\": \"Dell Inc.\",\n                    \"\
    missing\": false,\n                    \"name\": \"c1-esx02.rackh18.local\",\n\
    \                    \"operational_status\": \"normal\",\n                   \
    \ \"power_status\": \"on\",\n                    \"psnt\": \"9GMHHL20000000\"\
    ,\n                    \"slot\": 3,\n                    \"sn\": \"9GMHHL2\",\n\
    \                    \"tpm_present\": true\n                },\n             \
    \   {\n                    \"firmware_information\": {\n                     \
    \   \"bios_revision\": \"2.10.2\",\n                        \"bmc_revision\":\
    \ \"4.40.10.00\",\n                        \"boss_version\": null,\n         \
    \               \"cpld_version\": \"1.1.0\",\n                        \"expander_bpf_version\"\
    : null,\n                        \"hba_version\": \"16.17.01.00\",\n         \
    \               \"nonexpander_bpf_version\": \"4.35\"\n                      \
    \  \"idsdm_version\": \"1.9\",\n                        \"dcpm_version\": null,\n\
    \                        \"perc_version\": null\n                    },\n    \
    \                \"geo_location\": {\n                        \"order_number\"\
    : 3,\n                        \"rack_name\": \"default-rack\"\n              \
    \      },\n                    \"health\": \"Critical\",\n                   \
    \ \"hostname\": \"c1-esx03.rackh18.local\",\n                    \"id\": \"9GMKHL2\"\
    ,\n                    \"led_status\": \"Blue:On\",\n                    \"manufacturer\"\
    : \"Dell Inc.\",\n                    \"missing\": false,\n                  \
    \  \"name\": \"c1-esx03.rackh18.local\",\n                    \"operational_status\"\
    : \"normal\",\n                    \"power_status\": \"on\",\n               \
    \     \"psnt\": \"9GMKHL20000000\",\n                    \"slot\": 4,\n      \
    \              \"sn\": \"9GMKHL2\",\n                    \"tpm_present\": true\n\
    \                },\n                {\n                    \"firmware_information\"\
    : {\n                        \"bios_revision\": \"2.10.2\",\n                \
    \        \"bmc_revision\": \"4.40.10.00\",\n                        \"boss_version\"\
    : null,\n                        \"cpld_version\": \"1.1.0\",\n              \
    \          \"expander_bpf_version\": null,\n                        \"hba_version\"\
    : \"16.17.01.00\",\n                        \"nonexpander_bpf_version\": \"4.35\"\
    \n                    },\n                    \"geo_location\": {\n          \
    \              \"order_number\": 4,\n                        \"rack_name\": \"\
    c1-esx01\"\n                    },\n                    \"health\": \"Critical\"\
    ,\n                    \"hostname\": \"c1-esx04.rackh18.local\",\n           \
    \         \"id\": \"9GMJHL2\",\n                    \"led_status\": \"Blue:On\"\
    ,\n                    \"manufacturer\": \"Dell Inc.\",\n                    \"\
    missing\": false,\n                    \"name\": \"c1-esx04.rackh18.local\",\n\
    \                    \"operational_status\": \"normal\",\n                   \
    \ \"power_status\": \"maintenance\",\n                    \"psnt\": \"9GMJHL20000000\"\
    ,\n                    \"slot\": 2,\n                    \"sn\": \"9GMJHL2\",\n\
    \                    \"tpm_present\": false\n                }\n            ],\n\
    \            \"id\": \"CTPMHL20000000\",\n            \"missing\": false,\n  \
    \          \"model\": \"VxRail G560F\",\n            \"part_number\": null,\n\
    \            \"power_supplies\": [\n                {\n                    \"\
    health\": \"Critical\",\n                    \"manufacturer\": null,\n       \
    \             \"missing\": true,\n                    \"name\": null,\n      \
    \              \"part_number\": null,\n                    \"revision_number\"\
    : null,\n                    \"slot\": 1,\n                    \"sn\": \"CTPMHL200000001\"\
    \n                },\n                {\n                    \"health\": \"Healthy\"\
    ,\n                    \"manufacturer\": \"DELL\",\n                    \"missing\"\
    : false,\n                    \"name\": \"Power Supply 2\",\n                \
    \    \"part_number\": \"0W1R7VA00\",\n                    \"revision_number\"\
    : \"0.1c.53\",\n                    \"slot\": 2,\n                    \"sn\":\
    \ \"CTPMHL200000002\"\n                }\n            ],\n            \"psnt\"\
    : \"CTPMHL20000000\",\n            \"render_category\": \"DELL_C6420\",\n    \
    \        \"service_tag\": \"CTPMHL2\",\n            \"sn\": \"9GMJHL2\"\n    \
    \        \"bay\": false\n\n}"
  type: dict