Skip to content

giovtorres/ansible-role-lldpad

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ansible Role: lldpad

Build Status

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.

Requirements

Useful on physical hosts for determining uplink switch/switchport connections.

Role Variables

Enable LLDP on all active interfaces:

lldpad_active_interfaces: true

Enable LLDP only on selected interfaces:

lldpad_selected_interfaces: []

Dependencies

None.

Example Playbook

- hosts: servers
  vars:
    lldpad_active_interfaces: false
    lldpad_selected_interfaces:
      - eth0
  roles:
     - giovtorres.lldpad
       when: ansible_virtualization_role == "host"

License

BSD