mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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
|
- name: Print each switch/port
|
||||||
debug:
|
debug:
|
||||||
msg: "{{ lldp[item]['chassis']['name'] }} / {{ lldp[item]['port']['ifalias'] }}"
|
msg: "{{ lldp[item]['chassis']['name'] }} / {{ lldp[item]['port']['ifname'] }}"
|
||||||
with_items: "{{ lldp.keys() }}"
|
with_items: "{{ lldp.keys() }}"
|
||||||
|
|
||||||
# TASK: [Print each switch/port] ***********************************************************
|
# TASK: [Print each switch/port] ***********************************************************
|
||||||
|
|
Loading…
Add table
Reference in a new issue