summaryrefslogtreecommitdiff
path: root/plugins/modules/vyos_lldp.py
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/modules/vyos_lldp.py')
-rw-r--r--plugins/modules/vyos_lldp.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/plugins/modules/vyos_lldp.py b/plugins/modules/vyos_lldp.py
index fa1ac03a..5e330008 100644
--- a/plugins/modules/vyos_lldp.py
+++ b/plugins/modules/vyos_lldp.py
@@ -19,10 +19,11 @@
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
#
-ANSIBLE_METADATA = {'metadata_version': '1.1',
- 'status': ['preview'],
- 'supported_by': 'network'}
-
+ANSIBLE_METADATA = {
+ 'metadata_version': '1.1',
+ 'status': ['preview'],
+ 'supported_by': 'network'
+}
DOCUMENTATION = """
---
@@ -70,7 +71,6 @@ from ansible_collections.vyos.vyos.plugins.module_utils.network. \
vyos.vyos import vyos_argument_spec
-
def has_lldp(module):
config = get_config(module).splitlines()
@@ -86,9 +86,7 @@ def main():
argument_spec = dict(
interfaces=dict(type='list'),
state=dict(default='present',
- choices=['present', 'absent',
- 'enabled', 'disabled'])
- )
+ choices=['present', 'absent', 'enabled', 'disabled']))
argument_spec.update(vyos_argument_spec)