eos_facts
Collect facts from remote devices running Arista EOS
Collection: arista.eos
Full Name: arista.eos.eos_facts
Controller module — runs on the local controller, not on remote hosts.
Synopsis
Collect facts from remote devices running Arista EOS
Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| available_network_resources | bool | false | ||
| gather_network_resources | list | |||
| gather_subset | list | [min] |
Example
yaml
- name: Gather all legacy facts
arista.eos.eos_facts:
gather_subset: all
- name: Gather only the config and default facts
arista.eos.eos_facts:
gather_subset:
- config
- name: Do not gather hardware facts
arista.eos.eos_facts:
gather_subset:
- '!hardware'
- name: Gather legacy and resource facts
arista.eos.eos_facts:
gather_subset: all
gather_network_resources: all
- name: Gather only the interfaces resource facts and no legacy facts
arista.eos.eos_facts:
gather_subset:
- '!all'
- '!min'
gather_network_resources:
- interfaces
- name: Gather all resource facts and minimal legacy facts
arista.eos.eos_facts:
gather_subset: min
gather_network_resources: all