netapp.storagegrid.nac_sg_grid_dns (20.6.1) — module

NetApp StorageGRID manage external DNS servers for the grid.

| "added in version" 20.6.0 of netapp.storagegrid"

Authors: NetApp Ansible Team (@joshedmonds) <ng-ansibleteam@netapp.com>

preview | supported by community

Install collection

Install with ansible-galaxy collection install netapp.storagegrid:==20.6.1


Add to requirements.yml

  collections:
    - name: netapp.storagegrid
      version: 20.6.1

Description

Update NetApp StorageGRID DNS addresses.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: update DNS servers on StorageGRID
    netapp.storagegrid.nac_sg_grid_dns:
      api_url: "https://<storagegrid-endpoint-url>"
      auth_token: "storagegrid-auth-token"
      validate_certs: false
      state: present
      dns_servers: "x.x.x.x,xxx.xxx.xxx.xxx"

Inputs

    
state:
    choices:
    - present
    - absent
    description:
    - Whether the specified DNS address should exist or not.
    - Required for all operations
    type: str

api_url:
    description:
    - The url to the StorageGRID Admin Node REST API.
    required: true
    type: str

auth_token:
    description:
    - The authorization token for the API request
    required: true
    type: str

dns_servers:
    description:
    - List of comma separated DNS Addresses to be updated or delete.
    type: str

validate_certs:
    default: true
    description:
    - Should https certificates be validated?
    required: false
    type: bool