- 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 - 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' |
- Allen Robel (@PacketCalc)