diff --git a/net_infrastructure/lldp b/net_infrastructure/lldp index 047cd39d0b2..efe4c8ab2ec 100755 --- a/net_infrastructure/lldp +++ b/net_infrastructure/lldp @@ -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 -#<> - +# import module snippets +from ansible.module_utils.basic import * main()