Skip to content

Latest commit

 

History

History
82 lines (62 loc) · 2.72 KB

cisco.nxos.nxos_ntp_options.rst

File metadata and controls

82 lines (62 loc) · 2.72 KB

NxosNtpOptions()

  • NxosNtpOptions() generates Ansible Playbook tasks conformant with cisco.nxos.nxos_ntp_options
  • These can then be passed to Playbook().add_task()

Property Description
logging

Sets whether NTP logging is enabled on the device:

- Type: bool()
- Valid values:
    - False
    - True
- Example:
    task.logging = False
master

Sets whether the device is an authoritative NTP server:

- Type: bool()
- Valid values:
    - False
    - True
- Example:
    task.master = False
state

The state of the configuration after module completion:

- Type: str()
- Valid values:
    - absent
    - present
- Example:
    task.state = 'present'
- Required
stratum

If master is True, an optional stratum can be supplied:

- Type: int()
- Valid values: range 1-15
- Default: 8
- Example:
    task.stratum = 10
task_name

Name of the task. Ansible will display this when the playbook is run:

- Type: str()
- Example:
    - task.task_name = 'ntp options config'

Authors

  • Allen Robel (@PacketCalc)