ansible.builtin.nxos_ntp_auth (v2.9.0) — module

Manages NTP authentication.

| "added in version" 2.2 of ansible.builtin"

Authors: Jason Edelman (@jedelman8)

preview | supported by network

Install Ansible via pip

Install with pip install ansible==2.9.0

Description

Manages NTP authentication.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
# Basic NTP authentication configuration
- 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.

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

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.

md5string:
    description:
    - MD5 String.

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.

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

Outputs

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