Updates lldp module example to use ifname instead of ifalias (#23064)
This commit is contained in:
parent
3da1036baa
commit
e0d0446183
1 changed files with 1 additions and 1 deletions
|
@ -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] ***********************************************************
|
||||
|
|
Loading…
Reference in a new issue