Debian Codegraph @

ansible_collections/dellemc/enterprise_sonic/playbooks/common_examples/sonic_facts.yaml

raw symbols SCIP
1 ---
2 - name: Ansible resource module facts example
3 hosts: datacenter
4 gather_facts: true
5 connection: httpapi
6 collections:
7 - dellemc.enterprise_sonic
8 tasks:
9 - name: "Gather facts"
10 sonic_facts:
11 gather_subset: min
12 gather_network_resources:
13 - interfaces
14 - l3_interfaces
15 - lag_interfaces
16 - vlans
17 - bgp
18 register: result
19
20 - name: "Debug facts"
21 ansible.builtin.debug:
22 msg: "{{ result.ansible_facts.ansible_network_resources }}"