dellemc / dellemc.vxrail / 1.2.0 / module / dellemc_vxrail_hosts Retrieve VxRail hosts and their associated subcomponent information. | "added in version" 1.0.0 of dellemc.vxrail" Authors: VxRail Development Team(@VxRailDevTeam) <ansible.team@dell.com>dellemc.vxrail.dellemc_vxrail_hosts (1.2.0) — module
Install with ansible-galaxy collection install dellemc.vxrail:==1.2.0
collections: - name: dellemc.vxrail version: 1.2.0
This module will get information of all hosts in the cluster or one host specified by serial number.
- name: Retrives All VxRail Hosts Information dellemc_vxrail_hosts: vxmip: "{{ vxmip }}" vcadmin: "{{ vcadmin }}" vcpasswd: "{{ vcpasswd }}"
vxmip: description: The IP address of the VxRail Manager System required: true type: str host_sn: default: all description: Serial number of the host to retrieve specific host information required: false type: str timeout: default: 60 description: Time out value for getting system 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
Hosts_Information: description: host information summary returned: always sample: "{\n \"boot_devices\": [\n {\n \"avr_erase_count\"\ : null,\n \"block_size\": \"512\",\n \"bootdevice_type\"\ : \"BOSS\",\n \"capacity\": \"223.57GB\",\n \"controller_firmware\"\ : \"2.5.13.3024\",\n \"controller_model\": \"BOSS-S1\",\n \ \ \"controller_status\": \"NORMAL\",\n \"device_model\"\ : \"SSDSCKJB240G7R\",\n \"firmware_version\": \"D0DE008\",\n \ \ \"health\": \"100%\",\n \"id\": \"18331E196141\"\ ,\n \"manufacturer\": \"Intel\",\n \"max_erase_count\"\ : null,\n \"part_number\": \"GST02CPRCM0S80G8S1YQ0A\",\n \ \ \"power_cycle_count\": null,\n \"power_on_hours\": null,\n\ \ \"sata_type\": \"SSD\",\n \"slot\": 0,\n \ \ \"sn\": \"18331E196141\",\n \"status\": \"NORMAL\"\n\ \ },\n {\n \"avr_erase_count\": null,\n \ \ \"block_size\": \"512\",\n \"bootdevice_type\"\ : \"BOSS\",\n \"capacity\": \"223.57GB\",\n \"controller_firmware\"\ : \"2.5.13.3024\",\n \"controller_model\": \"BOSS-S1\",\n \ \ \"controller_status\": \"NORMAL\",\n \"device_model\"\ : \"SSDSCKJB240G7R\",\n \"firmware_version\": \"D0DE008\",\n \ \ \"health\": \"100%\",\n \"id\": \"18331E18542B\"\ ,\n \"manufacturer\": \"Intel\",\n \"max_erase_count\"\ : null,\n \"part_number\": \"GST02CPRCM0S80D8R16S0A\",\n \ \ \"power_cycle_count\": null,\n \"power_on_hours\": null,\n\ \ \"sata_type\": \"SSD\",\n \"slot\": 1,\n \ \ \"sn\": \"18331E18542B\",\n \"status\": \"NORMAL\"\n\ \ }\n ],\n \"disks\": [\n {\n \ \ \"capacity\": \"400.0GB\",\n \"disk_claim_type\": \"vSAN\"\ ,\n \"disk_state\": \"OK\",\n \"disk_type\": \"\ HDD\",\n \"enclosure\": 0,\n \"firmware_revision\"\ : \"DSLA\",\n \"id\": \"V010104DVSN00\",\n \"led_status\"\ : \"Green:On\",\n \"manufacturer\": \"SAMSUNG\",\n \ \ \"max_capable_speed\": \"12 Gb/s\",\n \"missing\": false,\n\ \ \"model\": \"MZILS1T9HEJH0D3\",\n \"protocol\"\ : \"SAS\",\n \"remaining_write_endurance_rate\": null,\n \ \ \"slot\": 0,\n \"sn\": \"V010104DVSN00\",\n \ \ \"write_endurance\": null,\n \"write_endurance_status\"\ : null\n },\n {\n \"capacity\": \"40.0GB\"\ ,\n \"disk_claim_type\": \"vSAN\",\n \"disk_state\"\ : \"OK\",\n \"disk_type\": \"SSD\",\n \"enclosure\"\ : 0,\n \"firmware_revision\": \"AS10\",\n \"id\"\ : \"V010104DVSN01\",\n \"led_status\": \"Green:On\",\n \ \ \"manufacturer\": \"TOSHIBA\",\n \"max_capable_speed\"\ : \"12 Gb/s\",\n \"missing\": false,\n \"model\"\ : \"PX05SMB040Y\",\n \"protocol\": \"SAS\",\n \"\ remaining_write_endurance_rate\": \"97%\",\n \"slot\": 8,\n \ \ \"sn\": \"V010104DVSN01\",\n \"write_endurance\"\ : \"3\",\n \"write_endurance_status\": null\n },\n \ \ {\n \"capacity\": \"400.0GB\",\n \"\ disk_claim_type\": \"vSAN\",\n \"disk_state\": \"OK\",\n \ \ \"disk_type\": \"HDD\",\n \"enclosure\": 0,\n \ \ \"firmware_revision\": \"DSLA\",\n \"id\": \"V010104DVSN02\"\ ,\n \"led_status\": \"Green:On\",\n \"manufacturer\"\ : \"SAMSUNG\",\n \"max_capable_speed\": \"12 Gb/s\",\n \ \ \"missing\": false,\n \"model\": \"MZILS1T9HEJH0D3\",\n\ \ \"protocol\": \"SAS\",\n \"remaining_write_endurance_rate\"\ : null,\n \"slot\": 4,\n \"sn\": \"V010104DVSN02\"\ ,\n \"write_endurance\": null,\n \"write_endurance_status\"\ : null\n },\n {\n \"capacity\": \"40.0GB\"\ ,\n \"disk_claim_type\": \"vSAN\",\n \"disk_state\"\ : \"OK\",\n \"disk_type\": \"SSD\",\n \"enclosure\"\ : 0,\n \"firmware_revision\": \"AS10\",\n \"id\"\ : \"V010104DVSN03\",\n \"led_status\": \"Green:On\",\n \ \ \"manufacturer\": \"TOSHIBA\",\n \"max_capable_speed\"\ : \"12 Gb/s\",\n \"missing\": false,\n \"model\"\ : \"PX05SMB080Y\",\n \"protocol\": \"SAS\",\n \"\ remaining_write_endurance_rate\": \"100%\",\n \"slot\": 9,\n \ \ \"sn\": \"V010104DVSN03\",\n \"write_endurance\"\ : \"0\",\n \"write_endurance_status\": null\n }\n \ \ ],\n \"drive_configuration\": {\n \"type\": \"1002\"\n\ \ },\n \"firmware_info\": {\n \"bios_revision\": \"2.11.2\"\ ,\n \"bmc_revision\": \"4.40.40.00\",\n \"boss_version\"\ : \"2.5.13.3024\",\n \"cpld_version\": \"1.0.2\",\n \"dcpm_version\"\ : null,\n \"expander_bpf_version\": \"2.52\",\n \"hba_version\"\ : \"16.17.01.00\",\n \"nonexpander_bpf_version\": null\n },\n\ \ \"geo_location\": {\n \"order_number\": 1,\n \"\ rack_name\": \"\"\n },\n \"health\": \"Warning\",\n \"hostname\"\ : \"vcluster101-esx04.vv009.local\",\n \"id\": \"V010104\",\n \"\ led_status\": \"Blue:On\",\n \"manufacturer\": \"Dell Inc.\",\n \ \ \"missing\": false,\n \"name\": \"vcluster101-esx04.vv009.local\",\n\ \ \"nics\": [\n {\n \"firmware_family_version\"\ : \"20.0.16\",\n \"id\": \"00:50:56:a2:fe:bb\",\n \ \ \"link_speed\": \"10 Gbps\",\n \"link_status\": \"Up\",\n \ \ \"mac\": \"00:50:56:a2:fe:bb\",\n \"slot\": 1\n\ \ },\n {\n \"firmware_family_version\": \"\ 20.0.16\",\n \"id\": \"00:50:56:a2:f0:81\",\n \"\ link_speed\": \"10 Gbps\",\n \"link_status\": \"Up\",\n \ \ \"mac\": \"00:50:56:a2:f0:81\",\n \"slot\": 2\n \ \ },\n {\n \"firmware_family_version\": \"20.0.16\"\ ,\n \"id\": \"00:50:56:a2:99:50\",\n \"link_speed\"\ : \"10 Gbps\",\n \"link_status\": \"Up\",\n \"mac\"\ : \"00:50:56:a2:99:50\",\n \"slot\": 3\n },\n \ \ {\n \"firmware_family_version\": \"20.0.16\",\n \ \ \"id\": \"00:50:56:a2:66:cd\",\n \"link_speed\": \"10\ \ Gbps\",\n \"link_status\": \"Up\",\n \"mac\":\ \ \"00:50:56:a2:66:cd\",\n \"slot\": 4\n }\n \ \ ],\n \"operational_status\": \"normal\",\n \"power_status\": \"\ on\",\n \"psnt\": \"V0101040000000\",\n \"slot\": 1,\n \"\ sn\": \"V010104\",\n \"tpm_present\": false\n}" type: dict