ansible / ansible.builtin / v2.9.27 / module / onyx_ptp_global Configures PTP Global parameters | "added in version" 2.8 of ansible.builtin" Authors: Anas Badaha (@anasb) preview | supported by communityansible.builtin.onyx_ptp_global (v2.9.27) — module
pip
Install with pip install ansible==2.9.27
This module provides declarative management of PTP Global configuration on Mellanox ONYX network devices.
- name: configure PTP onyx_ptp_global: ntp_state: enabled ptp_state: disabled domain: 127 primary_priority: 128 secondary_priority: 128
domain: description: - set PTP domain number Range 0-127 ntp_state: choices: - enabled - disabled description: - NTP state. ptp_state: choices: - enabled - disabled default: enabled description: - PTP state. primary_priority: description: - set PTP primary priority Range 0-225 secondary_priority: description: - set PTP secondary priority Range 0-225
commands: description: The list of configuration mode commands to send to the device. returned: always sample: - no ntp enable - protocol ptp - ptp domain 127 type: list