ansible / ansible.builtin / v2.5.10 / module / nxos_ntp_options Manages NTP options. | "added in version" 2.2 of ansible.builtin" Authors: Jason Edelman (@jedelman8) preview | supported by networkansible.builtin.nxos_ntp_options (v2.5.10) — module
pip
Install with pip install ansible==2.5.10
Manages NTP options, e.g. authoritative server and logging.
# Basic NTP options configuration - 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. required: false master: choices: - 'true' - 'false' default: null description: - Sets whether the device is an authoritative NTP server. required: false logging: choices: - 'true' - 'false' default: null description: - Sets whether NTP logging is enabled on the device. required: false stratum: default: null description: - If C(master=true), an optional stratum can be supplied (1-15). The device default is 8. required: false
updates: description: command sent to the device returned: always sample: - no ntp logging - ntp master 12 type: list