mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 03:11:24 -07:00
* ios_facts: Fix LLDP gathering without neighbors When LLDP is enabled but no neighbors are present, the following structure is generated: ... "ansible_net_neighbors": { "null": [ { "host": null, "port": null } ] }, ... If we are not able to find any relevant LLDP information, bail out early so cases like shown above are handled more gracefully. * ios_facts: Remove trailing space in lineprotocol Some Cisco devices (at least CSR1000V 16.6.4) add a space after the line protocol. This causes the space to be present in the result of fact gathering: "ansible_net_interfaces": { "GigabitEthernet2": { ... "lineprotocol": "up ", Be more clear about scanning the output to avoid this behaviour. |
||
---|---|---|
.. | ||
cli | ||
compat | ||
config | ||
errors | ||
executor | ||
galaxy | ||
inventory | ||
module_utils | ||
modules | ||
parsing | ||
playbook | ||
plugins | ||
template | ||
utils | ||
vars | ||
__init__.py | ||
constants.py | ||
release.py |