ghmsalinda.test.dellemc_vxrail_idrac_getnetwork_v1 (1.3.0) — module

Retrieve the iDRAC network settings on the specified host.

| "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 iDRAC network settings on the specified host.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Get iDRAC Network Settings
    DellEMC_VxRail_idrac_GetNetworkSettings_v1:
        vxmip: "{{ vxmip }}"
        vcadmin: "{{ vcadmin }}"
        vcpasswd: "{{ vcpasswd }}"
        sn: "{{ sn }}"
        timeout: "{{ timeout }}"

Inputs

    
sn:
    description: The serial number of the host to be queried
    required: true
    type: str

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

timeout:
    default: 60
    description: Time out value for getting iDRAC network settings, 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

iDRAC_Network_Settings:
  description: iDRAC Network Settings summary
  returned: always
  sample: "{\n            \"dhcp_enabled\": true,\n            \"ip\": {\n       \
    \         \"gateway\": \"192.168.105.252\",\n                \"ip_address\": \"\
    192.168.105.16\",\n                \"netmask\": \"255.255.255.0\",\n         \
    \       \"type\": \"ipv4\"\n            },\n            \"vlan\": {\n        \
    \        \"vlan_id\": 0,\n                \"vlan_priority\": 0\n            }\n\
    \        }"
  type: dict