community.network.exos_facts – Collect facts from devices running Extreme EXOS¶
Note
This plugin is part of the community.network collection (version 2.1.1).
To install it use: ansible-galaxy collection install community.network
.
To use it in a playbook, specify: community.network.exos_facts
.
Synopsis¶
Collects a base set of device facts from a remote device that is running EXOS. 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: Gather all legacy facts
community.network.exos_facts:
gather_subset: all
- name: Gather only the config and default facts
community.network.exos_facts:
gather_subset: config
- name: Do not gather hardware facts
community.network.exos_facts:
gather_subset: "!hardware"
- name: Gather legacy and resource facts
community.network.exos_facts:
gather_subset: all
gather_network_resources: all
- name: Gather only the lldp global resource facts and no legacy facts
community.network.exos_facts:
gather_subset:
- '!all'
- '!min'
gather_network_resource:
- lldp_global
- name: Gather lldp global resource and minimal legacy facts
community.network.exos_facts:
gather_subset: min
gather_network_resource: lldp_global
Return Values¶
Common return values are documented here, the following are the fields unique to this module:
Authors¶
Lance Richardson (@hlrichardson)
Ujwal Koamrla (@ujwalkomarla)