.. _arista.eos.eos_ntp_global_module:
*************************
arista.eos.eos_ntp_global
*************************
**Manages ntp resource module**
Version added: 3.1.0
.. contents::
:local:
:depth: 1
Synopsis
--------
- This module configures and manages the attributes of ntp on Arista EOS platforms.
Parameters
----------
.. raw:: html
Parameter |
Choices/Defaults |
Comments |
config
dictionary
|
|
A dictionary of ntp options
|
|
authenticate
dictionary
|
|
Require authentication for NTP synchronization.
|
|
|
enable
boolean
|
|
Enable authentication for NTP synchronization.
|
|
|
servers
boolean
|
|
Authentication required only for incoming NTP server responses.
|
|
authentication_keys
list
/ elements=dictionary
|
|
Define a key to use for authentication.
|
|
|
algorithm
string
|
|
hash algorithm,
|
|
|
encryption
integer
|
|
key type
|
|
|
id
integer
|
|
key identifier.
|
|
|
key
string
|
|
Unobfuscated key string.
|
|
local_interface
string
|
|
Configure the interface from which the IP source address is taken.
|
|
qos_dscp
integer
|
|
Set DSCP value in IP header
|
|
serve
dictionary
|
|
Configure the switch as an NTP server.
|
|
|
access_lists
list
/ elements=dictionary
|
|
Configure access control list.
|
|
|
|
acls
list
/ elements=dictionary
|
|
Access lists to be configured under the afi
|
|
|
|
|
acl_name
string
|
|
Name of the access list.
|
|
|
|
|
direction
string
|
|
direction for the packets.
|
|
|
|
|
vrf
string
|
|
VRF in which to apply the access control list.
|
|
|
|
afi
string
|
|
ip/ipv6 config commands.
|
|
|
all
boolean
|
|
Service NTP requests received on any interface.
|
|
servers
list
/ elements=dictionary
|
|
Configure NTP server to synchronize to.
|
|
|
burst
boolean
|
|
Send a burst of packets instead of the usual one.
|
|
|
iburst
boolean
|
|
Send bursts of packets until the server is reached
|
|
|
key_id
integer
|
|
Set a key to use for authentication.
|
|
|
local_interface
string
|
|
Configure the interface from which the IP source address is taken.
|
|
|
maxpoll
integer
|
|
Maximum poll interval.
|
|
|
minpoll
integer
|
|
Minimum poll interval.
|
|
|
prefer
boolean
|
|
Mark this server as preferred.
|
|
|
server
string
/ required
|
|
Hostname or A.B.C.D or A:B:C:D:E:F:G:H.
|
|
|
source
string
|
|
Configure the interface from which the IP source address is taken.
|
|
|
version
integer
|
|
NTP version.
|
|
|
vrf
string
|
|
vrf name.
|
|
trusted_key
string
|
|
Configure the set of keys that are accepted for incoming messages
|
running_config
string
|
|
This option is used only with state parsed.
The value of this option should be the output received from the EOS device by executing the command show running-config | section ntp.
The state parsed reads the configuration from running_config option and transforms it into Ansible structured data as per the resource module's argspec and the value is then returned in the parsed key within the result.
|
state
string
|
Choices:
- deleted
merged ←
- overridden
- replaced
- gathered
- rendered
- parsed
|
The state the configuration should be left in.
The states replaced and overridden have identical behaviour for this module.
Please refer to examples for more details.
|