dellemc / dellemc.vxrail / 2.1.0 / module / dellemc_vxrail_system_getclusterhosts Get information about configured hosts. | "added in version" 1.4.0 of dellemc.vxrail" Authors: VxRail Development Team(@VxRailDevTeam) <ansible.team@dell.com>dellemc.vxrail.dellemc_vxrail_system_getclusterhosts (2.1.0) — module
Install with ansible-galaxy collection install dellemc.vxrail:==2.1.0
collections: - name: dellemc.vxrail version: 2.1.0
This module will get information about configured hosts in the VxRail cluster.
- name: Retrives All VxRail Hosts Information dellemc_vxrail_system_getclusterhosts: vxmip: "{{ vxmip }}" vcadmin: "{{ vcadmin }}" vcpasswd: "{{ vcpasswd }}" timeout : "{{ timeout }}" api_version_number: "{{ api_version_number }}"
vxmip: description: The IP address of the VxRail Manager System required: true 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 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
Hosts_Information: description: host information summary returned: always sample: "{\n \"health\": \"Error\",\n \"id\": \"9RVKNX20000000-01-01\"\ ,\n \"ip_set\": {\n \"management_ip\": \"20.13.143.103\"\ ,\n \"vmotion_ip\": \"192.168.102.143\",\n \"vsan_ip\"\ : \"192.168.101.123\"\n },\n \"ip_set_ipv6\": {\n \ \ \"management_ip\": \"\",\n \"vmotion_ip\": \"\",\n \ \ \"vsan_ip\": \"\"\n },\n \"led_status\": \"Blue:On\",\n\ \ \"manufacturer\": \"Dell Inc.\",\n \"missing\": false,\n \ \ \"operational_status\": \"normal\",\n \"power_status\": \"on\",\n \ \ \"psnt\": \"9RVKNX20000000\",\n \"slot\": 1,\n \"tpm_present\"\ : true,\n \"appliance_id\": \"VXRAILVIP470F2\",\n \"is_primary_node\"\ : true,\n \"discovered_date\": \"1533460206\",\n \"cluster_affinity\"\ : true,\n \"bios_uuid\": \"420e8b96-4602-9d96-35b9-906808c40985\",\n \ \ \"segment_label\": null\n}" type: dict