ansible / ansible.builtin / v2.8.19 / module / net_lldp Manage LLDP service configuration on network devices | "added in version" 2.4 of ansible.builtin" Authors: Ricardo Carrillo Cruz (@rcarrillocruz) preview | supported by networkansible.builtin.net_lldp (v2.8.19) — module
pip
Install with pip install ansible==2.8.19
This module provides declarative management of LLDP service configuration on network devices.
- name: Enable LLDP service net_lldp: state: present
- name: Disable LLDP service net_lldp: state: lldp
state: choices: - present - absent default: present description: - State of the LLDP service configuration.
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