dellemc.vxrail.dellemc_vxrail_system_dns_change_v1 (1.3.0) — module

Change VxRail DNS settings

| "added in version" 1.3.0 of dellemc.vxrail"

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

Install collection

Install with ansible-galaxy collection install dellemc.vxrail:==1.3.0


Add to requirements.yml

  collections:
    - name: dellemc.vxrail
      version: 1.3.0

Description

This module will change the system's dns settings.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: Changes the VxRail DNS settings
    dellemc_vxrail_system_dns_change_v1:
        vxmip: "{{ vxmip }}"
        vcadmin: "{{ vcadmin }}"
        vcpasswd: "{{ vcpasswd }}"
        components: "{{ components }}"
        servers: "{{ servers }}"
        timeout : "{{ timeout }}"

Inputs

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

servers:
    description: A list of DNS servers to be set for the system. Maximum of 2.
    elements: str
    required: true
    type: list

timeout:
    default: 60
    description: Time out value for setting dns information, 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

components:
    description: Indicates if the new DNS servers are set for VxRail Manager ("VXM") or
      all ("ALL"). Must be fully capitalized.
    required: true
    type: str

Outputs

System_DNS_Change_v1:
  description: Changes the VxRail DNS settings. Returns the value that was set.
  returned: always
  sample: "{\n    \"servers\": [\n        \"172.24.1.167\",\n        \"172.23.1.167\"\
    \n    ],\n    \"is_internal\": false\n}"
  type: dict