Hello,
when running the playbook gat fact about status of lacp interface on Arista switch I receive:
fatal: [switch]: FAILED! => {“changed”: false, “msg”: “Subset must be one of [config, default, hardware, interfaces], got all”}
I appreciate any help.
- my code!
---
- name: Gather Arista EOS LACP facts
hosts: eos_devices
gather_facts: no # Disable default facts
connection: network_cli
tasks:
- name: Gather specific LACP facts using eos_facts
arista.eos.eos_facts:
gather_subset:
- '! all' # Exclude all generic facts
- '! min' # Exclude minimal generic facts
gather_network_resources:
- lacp_interfaces # Request LACP interface facts specifically
register: lacp_facts_output
- name: Debug the gathered LACP facts
debug:
var: lacp_facts_output.ansible_facts.lacp_interfaces