1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Add LLDP module

This commit is contained in:
Michael DeHaan 2014-03-28 17:41:48 -04:00
parent 5b5f2e6d45
commit ae1b183855
2 changed files with 4 additions and 3 deletions

View file

@ -38,6 +38,7 @@ New Modules:
* system: capabilities
* net_infrastructure: bigip_facts
* net_infrastructure: dnssimple
* net_infrastructure: lldp
* web_infrastructure: apache2_module
* cloud: digital_ocean_domain
* cloud: digital_ocean_sshkey

View file

@ -19,6 +19,7 @@ import subprocess
DOCUMENTATION = '''
---
module: lldp
version_added: 1.6
short_description: get details reported by lldp
description:
- Reads data out of lldpctl
@ -76,8 +77,7 @@ def main():
except TypeError:
module.fail_json(msg="lldpctl command failed. is lldpd running?")
# this is magic, see lib/ansible/module_common.py
#<<INCLUDE_ANSIBLE_MODULE_COMMON>>
# import module snippets
from ansible.module_utils.basic import *
main()