community / community.network / 0.2.1 / module / cnos_lldp Manage LLDP configuration on Lenovo CNOS network devices. Authors: Anil Kumar Muraleedharan (@amuraleedhar)community.network.cnos_lldp (0.2.1) — module
Install with ansible-galaxy collection install community.network:==0.2.1
collections: - name: community.network version: 0.2.1
This module provides declarative management of LLDP service on Lenovc CNOS network devices.
- name: Enable LLDP service cnos_lldp: state: present
- name: Disable LLDP service cnos_lldp: state: absent
state: choices: - present - absent default: present description: - State of the LLDP configuration. If value is I(present) lldp will be enabled else if it is I(absent) it will be disabled.
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: - lldp timer 1024 - lldp trap-interval 330 type: list