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

This commit is contained in:
Antony Messerli 2017-08-17 14:38:30 -05:00 committed by ansibot
parent 3da1036baa
commit e0d0446183

View file

@ -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] ***********************************************************