mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-02 03:12:46 +00:00
Updates lldp module example to use ifname instead of ifalias (#23064)
This commit is contained in:
@@ -33,7 +33,7 @@ EXAMPLES = '''
|
||||
|
||||
- name: Print each switch/port
|
||||
debug:
|
||||
msg: "{{ lldp[item]['chassis']['name'] }} / {{ lldp[item]['port']['ifalias'] }}"
|
||||
msg: "{{ lldp[item]['chassis']['name'] }} / {{ lldp[item]['port']['ifname'] }}"
|
||||
with_items: "{{ lldp.keys() }}"
|
||||
|
||||
# TASK: [Print each switch/port] ***********************************************************
|
||||
|
||||
Reference in New Issue
Block a user