mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-11 03:31:29 -07:00
Update slxos_vlan for new SLX-OS versions, linting fixes (#52956)
This commit is contained in:
parent
4ea09d4d96
commit
b92d81cc01
32 changed files with 58 additions and 80 deletions
|
@ -180,8 +180,7 @@ backup_path:
|
|||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.network.ironware.ironware import ironware_argument_spec, check_args
|
||||
from ansible.module_utils.network.ironware.ironware import get_config, load_config, run_commands
|
||||
from ansible.module_utils.network.common.config import NetworkConfig, dumps, ConfigLine
|
||||
from ansible.module_utils._text import to_native
|
||||
from ansible.module_utils.network.common.config import NetworkConfig, dumps
|
||||
|
||||
|
||||
def get_candidate(module):
|
||||
|
@ -281,8 +280,6 @@ def main():
|
|||
|
||||
check_args(module)
|
||||
|
||||
config = None
|
||||
|
||||
if module.params['backup']:
|
||||
result['__backup__'] = get_config(module)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue