Note
This plugin is part of the mellanox.onyx collection.
To install it use: ansible-galaxy collection install mellanox.onyx
.
To use it in a playbook, specify: mellanox.onyx.onyx_ptp_global
.
Parameter | Choices/Defaults | Comments |
---|---|---|
domain string | set PTP domain number Range 0-127 | |
ntp_state string |
| NTP state. |
primary_priority string | set PTP primary priority Range 0-225 | |
ptp_state string |
| PTP state. |
secondary_priority string | set PTP secondary priority Range 0-225 |
Note
- name: Configure PTP onyx_ptp_global: ntp_state: enabled ptp_state: disabled domain: 127 primary_priority: 128 secondary_priority: 128
Common return values are documented here, the following are the fields unique to this module:
Key | Returned | Description |
---|---|---|
commands list / elements=string | always | The list of configuration mode commands to send to the device. Sample: ['no ntp enable', 'protocol ptp', 'ptp domain 127'] |
© 2012–2018 Michael DeHaan
© 2018–2019 Red Hat, Inc.
Licensed under the GNU General Public License version 3.
https://docs.ansible.com/ansible/2.10/collections/mellanox/onyx/onyx_ptp_global_module.html