onyx_facts – Collect facts from Mellanox ONYX network devices¶
New in version 2.5.
Synopsis¶
- Collects a base set of device facts from a ONYX Mellanox network devices This module prepends all of the base network fact keys with
ansible_net_<fact>
. The facts module will always collect a base set of facts from the device and can enable or disable collection of additional facts.
Parameters¶
Examples¶
---
- name: Collect all facts from the device
onyx_facts:
gather_subset: all
- name: Collect only the interfaces facts
onyx_facts:
gather_subset:
- interfaces
- name: Do not collect version facts
onyx_facts:
gather_subset:
- "!version"
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Status¶
- This module is not guaranteed to have a backwards compatible interface. [preview]
- This module is maintained by the Ansible Community. [community]
Authors¶
- Waleed Mousa (@waleedym), Samer Deeb (@samerd)
Hint
If you notice any issues in this documentation, you can edit this document to improve it.