dellemc / dellemc.vxrail / 2.1.0 / module / dellemc_vxrail_idrac_getnetwork Retrieve the iDRAC network settings on the specified host. | "added in version" 1.4.0 of dellemc.vxrail" Authors: VxRail Development Team(@VxRailDevTeam) <ansible.team@dell.com>dellemc.vxrail.dellemc_vxrail_idrac_getnetwork (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 iDRAC network settings on the specified host.
- name: Get iDRAC Network Settings dellemc_vxrail_idrac_getnetworks: vxmip: "{{ vxmip }}" vcadmin: "{{ vcadmin }}" vcpasswd: "{{ vcpasswd }}" sn: "{{ sn }}" timeout: "{{ timeout }}" api_version_number: "{{ api_version_number }}"
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 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
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