cisco / cisco.nxos / 6.0.3 / module / nxos_ntp_options
Removed in None
Reason:Updated module released with more functionality. | Alternative:nxos_ntp_global
Manages NTP options.
| "added in version" 1.0.0 of cisco.nxos"
Authors: Jason Edelman (@jedelman8)
Install with ansible-galaxy collection install cisco.nxos:==6.0.3
collections: - name: cisco.nxos version: 6.0.3
Manages NTP options, e.g. authoritative server and logging.
# Basic NTP options configuration - cisco.nxos.nxos_ntp_options: master: true stratum: 12 logging: false host: '{{ inventory_hostname }}' username: '{{ un }}' password: '{{ pwd }}'
state: choices: - present - absent default: present description: - Manage the state of the resource. type: str master: description: - Sets whether the device is an authoritative NTP server. type: bool logging: description: - Sets whether NTP logging is enabled on the device. type: bool stratum: description: - If C(master=true), an optional stratum can be supplied (1-15). The device default is 8. type: str
updates: description: command sent to the device returned: always sample: - no ntp logging - ntp master 12 type: list