Installs the lldpad package, which provides the userspace daemong and configuration tool for the Link Layer Discover Protocol (LLDP) agent.
Supported and tested on EL6 and EL7.
Useful on physical hosts for determining uplink switch/switchport connections.
Enable LLDP on all active interfaces:
lldpad_active_interfaces: true
Enable LLDP only on selected interfaces:
lldpad_selected_interfaces: []
None.
- hosts: servers
vars:
lldpad_active_interfaces: false
lldpad_selected_interfaces:
- eth0
roles:
- giovtorres.lldpad
when: ansible_virtualization_role == "host"
BSD