dellemc / dellemc.vxrail / 2.1.0 / module / dellemc_vxrail_getclusterinfo Retrieve VxRail Cluster Information | "added in version" 1.4.0 of dellemc.vxrail" Authors: VxRail Development Team(@VxRailDevTeam) <ansible.team@dell.com>dellemc.vxrail.dellemc_vxrail_getclusterinfo (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 retrieve VxRail cluster information and basic applicance information list.
- name: Retrieves VxRail Cluster Information dellemc-vxrail-getclusterinfo: 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 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 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
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