Updates lldp module example to use ifname instead of ifalias (#23064)

pull/28364/head
Antony Messerli 7 years ago committed by ansibot
parent 3da1036baa
commit e0d0446183

@ -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…
Cancel
Save