summaryrefslogtreecommitdiffstats
path: root/ansible_collections/cisco/meraki/playbooks/device_lldp_cdp.yml
blob: 27174fa502d1592edd9391350abbea3167c4201b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---

- hosts: localhost
  vars:
    sn: Q4AC-YTF3-WQ66
  gather_facts: false
  tasks:

    - name: Get device's LLDP and CDP neighbors
      cisco.meraki.devices_lldp_cdp_info:
        serial: "{{ sn }}"
      register: result

    - name: Show result
      ansible.builtin.debug:
        msg: "{{ result }}"