mellanox.onyx.onyx_facts – Collect facts from Mellanox ONYX network devices¶
Note
This plugin is part of the mellanox.onyx collection (version 1.0.0).
To install it use: ansible-galaxy collection install mellanox.onyx
.
To use it in a playbook, specify: mellanox.onyx.onyx_facts
.
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:
Authors¶
Waleed Mousa (@waleedym), Samer Deeb (@samerd)