ghmsalinda.test.dellemc_vxrail_system_getclusterhosts_v2 (1.3.0) — module

Get information about configured hosts.

| "added in version" 1.2.0 of ghmsalinda.test"

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

Install collection

Install with ansible-galaxy collection install ghmsalinda.test:==1.3.0


Add to requirements.yml

  collections:
    - name: ghmsalinda.test
      version: 1.3.0

Description

This module will get information about configured hosts in the VxRail cluster.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Retrives All VxRail Hosts Information
    dellemc_vxrail_system_getclusterhosts_v2:
        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 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

Outputs

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