mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 21:00:22 -07:00
Fix for cnos.py utility file for Python3.5 (#21750)
* fix in cnos.py utility file * fix compile errors in cnos.py, update module short description in cnos_vlan.py, move vlan roles under integration/roles * corrections in readme * Change module directory name to Lenovo * change import cnos statement
This commit is contained in:
parent
709b03d1c8
commit
e5ceb3a99c
5 changed files with 17 additions and 6 deletions
|
@ -30,7 +30,7 @@ ANSIBLE_METADATA = {'status': ['preview'],
|
|||
DOCUMENTATION = '''
|
||||
---
|
||||
module: cnos_vlan
|
||||
short_description: Performs VLAN switch configuration and state management.
|
||||
short_description: Manage VLAN resources and attributes on devices running Lenovo CNOS
|
||||
description:
|
||||
- This module allows you to work with VLAN related configurations. The
|
||||
operators used are overloaded to ensure control over switch VLAN
|
||||
|
@ -196,7 +196,7 @@ import time
|
|||
import re
|
||||
|
||||
try:
|
||||
import cnos
|
||||
from ansible.module_utils import cnos
|
||||
HAS_LIB = True
|
||||
except:
|
||||
HAS_LIB = False
|
Loading…
Add table
Add a link
Reference in a new issue