Deprecated

Removed in 2.13

i

Reason:Updated modules released with more functionality | Alternative:Use platform-specific "[netos]_lldp_global" module

ansible.builtin._net_lldp (v2.9.17) — module

Manage LLDP service configuration on network devices

| "added in version" 2.4 of ansible.builtin"

Authors: Ricardo Carrillo Cruz (@rcarrillocruz)

deprecated | supported by network

Install Ansible via pip

Install with pip install ansible==2.9.17

Description

This module provides declarative management of LLDP service configuration on network devices.

Usage examples

  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Enable LLDP service
  net_lldp:
    state: present
  • Success
    Steampunk Spotter scan finished with no errors, warnings or hints.
- name: Disable LLDP service
  net_lldp:
    state: absent

Inputs

    
state:
    choices:
    - present
    - absent
    default: present
    description:
    - State of the LLDP service configuration.

Outputs

commands:
  description: The list of configuration mode commands to send to the device
  returned: always, except for the platforms that use Netconf transport to manage
    the device.
  sample:
  - set service lldp
  type: list