Deprecated

Removed in None

i

Reason:Updated module released with more functionality. | Alternative:nxos_ntp_global

cisco.nxos.nxos_ntp_auth (6.0.3) — module

Manages NTP authentication.

| "added in version" 1.0.0 of cisco.nxos"

Authors: Jason Edelman (@jedelman8)

Install collection

Install with ansible-galaxy collection install cisco.nxos:==6.0.3


Add to requirements.yml

  collections:
    - name: cisco.nxos
      version: 6.0.3

Description

Manages NTP authentication.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Basic NTP authentication configuration
- cisco.nxos.nxos_ntp_auth:
    key_id: 32
    md5string: hello
    auth_type: text

Inputs

    
state:
    choices:
    - present
    - absent
    default: present
    description:
    - Manage the state of the resource.
    type: str

key_id:
    description:
    - Authentication key identifier (numeric).
    type: str

auth_type:
    choices:
    - text
    - encrypt
    default: text
    description:
    - Whether the given md5string is in cleartext or has been encrypted. If in cleartext,
      the device will encrypt it before storing it.
    type: str

md5string:
    description:
    - MD5 String.
    type: str

trusted_key:
    choices:
    - 'false'
    - 'true'
    default: 'false'
    description:
    - Whether the given key is required to be supplied by a time source for the device
      to synchronize to the time source.
    type: str

authentication:
    choices:
    - 'on'
    - 'off'
    description:
    - Turns NTP authentication on or off.
    type: str

Outputs

commands:
  description: command sent to the device
  returned: always
  sample:
  - ntp authentication-key 32 md5 helloWorld 0
  - ntp trusted-key 32
  type: list