PARALLAX

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

NameTypeRequiredDefaultDescription
available_network_resourcesboolfalse
gather_network_resourceslist
gather_subsetlist[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
Search
    ↑ ↓ move↵ openesc close