netapp.storagegrid.na_sg_grid_ntp (21.12.0) — module

NetApp StorageGRID manage external NTP servers for the grid.

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

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

preview | supported by community

Install collection

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


Add to requirements.yml

  collections:
    - name: netapp.storagegrid
      version: 21.12.0

Description

Update NTP server on NetApp StorageGRID.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
  - name: update NTP servers
    netapp.storagegrid.na_sg_grid_ntp:
      api_url: "https://<storagegrid-endpoint-url>"
      auth_token: "storagegrid-auth-token"
      validate_certs: false
      state: present
      passphrase: "{{ grid_pass }}"
      ntp_servers: "x.x.x.x,xx.x.xx.x"

Inputs

    
state:
    choices:
    - present
    default: present
    description:
    - Whether the specified user should exist or not.
    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

passphrase:
    description:
    - passphrase for GRID.
    required: true
    type: str

ntp_servers:
    description:
    - List of comma separated NTP server address.
    elements: str
    required: true
    type: list

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

Outputs

resp:
  description: Returns information about the configured NTP servers.
  elements: str
  returned: success
  sample:
  - 10.0.0.1
  - 10.0.0.2
  - 10.0.0.3
  - 10.0.0.4
  type: list