community.general/lib/ansible
Paul Neumann 39673dfc37 ios_facts: Fix minor aesthetical glitches (#46577)
* 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.
2018-10-10 08:02:14 -04:00
..
cli Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
compat Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
config Add configuration to override location of ansible-connection (#46128) 2018-10-01 14:29:59 -04:00
errors Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
executor Reduce noise in warnings from ansible (#40754) 2018-10-09 18:53:03 -04:00
galaxy Link to the Galaxy platforms list from the meta file template (#34046) 2018-09-17 13:39:54 -05:00
inventory add docstring for ansible.inventory.helpers.get_group_vars 2018-09-14 16:02:45 -04:00
module_utils Rabbitmq: Enable communication to management API over HTTPS (#18437) 2018-10-10 09:55:08 +05:30
modules ios_facts: Fix minor aesthetical glitches (#46577) 2018-10-10 08:02:14 -04:00
parsing Reduce noise in warnings from ansible (#40754) 2018-10-09 18:53:03 -04:00
playbook Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
plugins Add a Linode v4 dynamic inventory plugin. (#45902) 2018-10-09 12:54:31 +01:00
template Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
utils Rabbitmq: Enable communication to management API over HTTPS (#18437) 2018-10-10 09:55:08 +05:30
vars Python 3.8 collections compatibility fixes. 2018-10-08 11:26:37 -07:00
__init__.py
constants.py cisco firepower : Make API endpoints configurable via hostvars (#44952) 2018-08-31 18:38:16 +05:30
release.py Codename: How Many More Times 2018-09-04 12:38:29 -04:00