dellemc.vxrail.dellemc_vxrail_auto_discovery_hosts (2.2.0) — module

Get discovery hosts information

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

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

Install collection

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


Add to requirements.yml

  collections:
    - name: dellemc.vxrail
      version: 2.2.0

Description

This module will retrieve information about the auto discovery hosts.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Retriwves VxRail Discovery Hosts Information
    dellemc_vxrail_auto_discovery_hosts:
        vxmip: "{{ vxmip }}"
        timeout : "{{ timeout }}"
        api_version_number: "{{ api_version_number }}"

Inputs

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

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

api_version_number:
    description: A specific version number to use for the API call. If not included, will
      use the highest version by default
    required: false
    type: int

Outputs

Auto_Discovery_Hosts_Information:
  description: hosts information summary
  returned: always
  sample: "{\n    \"version\": \"2.0\",\n    \"nodes\": [\n        {\n           \
    \ \"esxi_version\": \"7.0.3-19580434\",\n            \"vxm_system_version\": \"\
    7.0.400-27513417\",\n            \"evo_uuid\": \"564d86b7-aaf1-5d17-b278-675c97b94c7b\"\
    ,\n            \"primary_ip\": \"fe80::250:56ff:fe6b:78d6%eth1\",\n          \
    \  \"idrac_ip\": \"192.168.105.16\",\n            \"idrac_ipv6\": \"::\",\n  \
    \          \"ip\": \"172.199.10.10\",\n            \"ipv6\": \"\",\n         \
    \   \"asset_tag\": \"V010101-01-01\",\n            \"serial_number\": \"V010101\"\
    ,\n            \"primary\": true,\n            \"model\": \"VxRail E560\",\n \
    \           \"id\": {\n                \"appliance_id\": \"V0101010000000\",\n\
    \                \"position\": 1,\n                \"total_supported_nodes\":\
    \ 1\n            },\n            \"uuid\": {\n                \"host\": \"04152c42-397a-cf92-c3bc-8b71ec2be299\"\
    \n            },\n            \"ssl_thumbprint\": \"04:50:0C.....<ommited>....1C:0A:3A:77\"\
    ,\n            \"ssh_thumbprint\": \"abdce.....<ommited>.....wxyz\",\n       \
    \     \"configuration_state\": \"UNCONFIGURED\",\n            \"hardware_profile\"\
    : {\n                \"nics\": [\n                    {\n                    \
    \    \"name\": \"vmnic0\",\n                        \"speed\": 10000,\n      \
    \                  \"port_info\": \"Slot: 1, Port: 1\",\n                    \
    \    \"product_name\": \"Intel(R) Ethernet 10G 4P X550 rNDC\"\n              \
    \      },\n                    {\n                        \"name\": \"vmnic1\"\
    ,\n                        \"speed\": 10000,\n                        \"port_info\"\
    : \"Slot: 1, Port: 2\",\n                        \"product_name\": \"Intel(R)\
    \ Ethernet 10G 4P X550 rNDC\"\n                    },\n                    {\n\
    \                        \"name\": \"vmnic2\",\n                        \"speed\"\
    : 10000,\n                        \"port_info\": \"Slot: 1, Port: 3\",\n     \
    \                   \"product_name\": \"Intel(R) Ethernet 10G 4P X550 rNDC\"\n\
    \                    },\n                    {\n                        \"name\"\
    : \"vmnic3\",\n                        \"speed\": 10000,\n                   \
    \     \"port_info\": \"Slot: 1, Port: 4\",\n                        \"product_name\"\
    : \"Intel(R) Ethernet 10G 4P X550 rNDC\"\n                    }\n            \
    \    ],\n                \"disks\": [\n                    {\n               \
    \         \"ssd\": true,\n                        \"blocks\": 83886080,\n    \
    \                    \"block_size\": 512\n                    },\n           \
    \         {\n                        \"ssd\": true,\n                        \"\
    blocks\": 83886080,\n                        \"block_size\": 512\n           \
    \         },\n                    {\n                        \"ssd\": false,\n\
    \                        \"blocks\": 1258291200,\n                        \"block_size\"\
    : 512\n                    },\n                    {\n                       \
    \ \"ssd\": false,\n                        \"blocks\": 1258291200,\n         \
    \               \"block_size\": 512\n                    }\n                ],\n\
    \                \"cpu\": {\n                    \"cores\": 16,\n            \
    \        \"speed\": 2893\n                },\n                \"memory\": {\n\
    \                    \"size\": 49150\n                }\n            },\n    \
    \        \"storage_types\": [\n                \"LOCAL\"\n            ]\n    \
    \    },\n        {\n            \"esxi_version\": \"7.0.3-19580434\",\n      \
    \      \"vxm_system_version\": \"7.0.400-27513417\",\n            \"evo_uuid\"\
    : \"564d8f3f-490e-d816-f39c-d35c8f68347b\",\n            \"primary_ip\": \"fe80::250:56ff:fe6b:7218%eth1\"\
    ,\n            \"idrac_ip\": \"192.168.105.16\",\n            \"idrac_ipv6\":\
    \ \"::\",\n            \"ip\": \"172.199.10.17\",\n            \"ipv6\": \"\"\
    ,\n            \"asset_tag\": \"V010104-01-01\",\n            \"serial_number\"\
    : \"V010104\",\n            \"primary\": false,\n            \"model\": \"VxRail\
    \ E560\",\n            \"id\": {\n                \"appliance_id\": \"V0101040000000\"\
    ,\n                \"position\": 1,\n                \"total_supported_nodes\"\
    : 1\n            },\n            \"uuid\": {\n                \"host\": \"36b32c42-8555-f06e-b8a3-87a7c6d9e536\"\
    \n            },\n            \"ssl_thumbprint\": \"04:50:0C.....<ommited>....1C:0A:3A:77\"\
    ,\n            \"ssh_thumbprint\": \"abdce.....<ommited>.....wxyz\",\n       \
    \     \"configuration_state\": \"UNCONFIGURED\",\n            \"hardware_profile\"\
    : {\n                \"nics\": [\n                    {\n                    \
    \    \"name\": \"vmnic0\",\n                        \"speed\": 10000,\n      \
    \                  \"port_info\": \"Slot: 1, Port: 1\",\n                    \
    \    \"product_name\": \"Intel(R) Ethernet 10G 4P X550 rNDC\"\n              \
    \      },\n                    {\n                        \"name\": \"vmnic1\"\
    ,\n                        \"speed\": 10000,\n                        \"port_info\"\
    : \"Slot: 1, Port: 2\",\n                        \"product_name\": \"Intel(R)\
    \ Ethernet 10G 4P X550 rNDC\"\n                    },\n                    {\n\
    \                        \"name\": \"vmnic2\",\n                        \"speed\"\
    : 10000,\n                        \"port_info\": \"Slot: 1, Port: 3\",\n     \
    \                   \"product_name\": \"Intel(R) Ethernet 10G 4P X550 rNDC\"\n\
    \                    },\n                    {\n                        \"name\"\
    : \"vmnic3\",\n                        \"speed\": 10000,\n                   \
    \     \"port_info\": \"Slot: 1, Port: 4\",\n                        \"product_name\"\
    : \"Intel(R) Ethernet 10G 4P X550 rNDC\"\n                    }\n            \
    \    ],\n                \"disks\": [\n                    {\n               \
    \         \"ssd\": true,\n                        \"blocks\": 83886080,\n    \
    \                    \"block_size\": 512\n                    },\n           \
    \         {\n                        \"ssd\": true,\n                        \"\
    blocks\": 83886080,\n                        \"block_size\": 512\n           \
    \         },\n                    {\n                        \"ssd\": false,\n\
    \                        \"blocks\": 1258291200,\n                        \"block_size\"\
    : 512\n                    },\n                    {\n                       \
    \ \"ssd\": false,\n                        \"blocks\": 1258291200,\n         \
    \               \"block_size\": 512\n                    }\n                ],\n\
    \                \"cpu\": {\n                    \"cores\": 16,\n            \
    \        \"speed\": 2893\n                },\n                \"memory\": {\n\
    \                    \"size\": 49150\n                }\n            },\n    \
    \        \"storage_types\": [\n                \"LOCAL\"\n            ]\n    \
    \    },\n        {\n            \"esxi_version\": \"7.0.3-19580434\",\n      \
    \      \"vxm_system_version\": \"7.0.400-27513417\",\n            \"evo_uuid\"\
    : \"564d41b3-7361-072f-05b2-bb5d0c5c57cd\",\n            \"primary_ip\": \"fe80::250:56ff:fe68:656%eth1\"\
    ,\n            \"idrac_ip\": \"192.168.105.16\",\n            \"idrac_ipv6\":\
    \ \"::\",\n            \"ip\": \"172.199.10.13\",\n            \"ipv6\": \"\"\
    ,\n            \"asset_tag\": \"V010103-01-01\",\n            \"serial_number\"\
    : \"V010103\",\n            \"primary\": false,\n            \"model\": \"VxRail\
    \ E560\",\n            \"id\": {\n                \"appliance_id\": \"V0101030000000\"\
    ,\n                \"position\": 1,\n                \"total_supported_nodes\"\
    : 1\n            },\n            \"uuid\": {\n                \"host\": \"aa482c42-2f77-c793-4a36-644c80042d29\"\
    \n            },\n            \"ssl_thumbprint\": \"04:50:0C.....<ommited>....1C:0A:3A:77\"\
    ,\n            \"ssh_thumbprint\": \"abdce.....<ommited>.....wxyz\",\n       \
    \     \"configuration_state\": \"UNCONFIGURED\",\n            \"hardware_profile\"\
    : {\n                \"nics\": [\n                    {\n                    \
    \    \"name\": \"vmnic0\",\n                        \"speed\": 10000,\n      \
    \                  \"port_info\": \"Slot: 1, Port: 1\",\n                    \
    \    \"product_name\": \"Intel(R) Ethernet 10G 4P X550 rNDC\"\n              \
    \      },\n                    {\n                        \"name\": \"vmnic1\"\
    ,\n                        \"speed\": 10000,\n                        \"port_info\"\
    : \"Slot: 1, Port: 2\",\n                        \"product_name\": \"Intel(R)\
    \ Ethernet 10G 4P X550 rNDC\"\n                    },\n                    {\n\
    \                        \"name\": \"vmnic2\",\n                        \"speed\"\
    : 10000,\n                        \"port_info\": \"Slot: 1, Port: 3\",\n     \
    \                   \"product_name\": \"Intel(R) Ethernet 10G 4P X550 rNDC\"\n\
    \                    },\n                    {\n                        \"name\"\
    : \"vmnic3\",\n                        \"speed\": 10000,\n                   \
    \     \"port_info\": \"Slot: 1, Port: 4\",\n                        \"product_name\"\
    : \"Intel(R) Ethernet 10G 4P X550 rNDC\"\n                    }\n            \
    \    ],\n                \"disks\": [\n                    {\n               \
    \         \"ssd\": true,\n                        \"blocks\": 83886080,\n    \
    \                    \"block_size\": 512\n                    },\n           \
    \         {\n                        \"ssd\": true,\n                        \"\
    blocks\": 83886080,\n                        \"block_size\": 512\n           \
    \         },\n                    {\n                        \"ssd\": false,\n\
    \                        \"blocks\": 1258291200,\n                        \"block_size\"\
    : 512\n                    },\n                    {\n                       \
    \ \"ssd\": false,\n                        \"blocks\": 1258291200,\n         \
    \               \"block_size\": 512\n                    }\n                ],\n\
    \                \"cpu\": {\n                    \"cores\": 16,\n            \
    \        \"speed\": 2893\n                },\n                \"memory\": {\n\
    \                    \"size\": 49150\n                }\n            },\n    \
    \        \"storage_types\": [\n                \"LOCAL\"\n            ]\n    \
    \    }\n    ]\n}"
  type: dict