ghmsalinda.test.dellemc_vxrail_cluster_getvm_v1 (1.3.0) — module

Retrives name, status and host information for system virtual machines in the VxRail cluster.

| "added in version" 1.1.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 retrieve the name, status, and host information for system virtual machines in the VxRail cluster.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Retrives name, status and host information for system virtual machines in the VxRail cluster
    DellEMC_VxRail_Cluster_GetSystemVirtualMachines_v1:
        vxmip: "{{ vxmip }}"
        vcadmin: "{{ vcadmin }}"
        vcpasswd: "{{ vcpasswd }}"
        timeout : "{{ timeout }}"

Inputs

    
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

Outputs

System_VM_Information:
  description: system VMs information summary
  returned: always
  sample: "[\n            {\n                \"host\": \"vcluster109-esx04.vv13xapp01.local\"\
    ,\n                \"name\": \"VxRail Manager\",\n                \"status\":\
    \ \"POWERED_ON\"\n            },\n            {\n                \"host\": \"\
    vcluster109-esx01.vv13xapp01.local\",\n                \"name\": \"VMware vCenter\
    \ Server Appliance\",\n                \"status\": \"POWERED_ON\"\n          \
    \  }\n        ]"
  type: dict