mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 03:41:25 -07:00
bug fixes for shell exec command (#20988)
* fixes up eos_local to call appropriate method * fixes up ios_cli to call appropriate method * moves json conversion to eos
This commit is contained in:
parent
1df14ed121
commit
bce0bd401e
4 changed files with 41 additions and 61 deletions
|
@ -97,7 +97,7 @@ class Cli(CliBase):
|
|||
|
||||
def connect(self):
|
||||
super(Cli, self).connect(self._module.params, kickstart=False)
|
||||
self.shell.send('terminal length 0')
|
||||
self.exec_command('terminal length 0')
|
||||
|
||||
def authorize(self):
|
||||
passwd = self._module.params['auth_pass']
|
||||
|
@ -108,7 +108,6 @@ class Cli(CliBase):
|
|||
self.exec_command('enable')
|
||||
|
||||
|
||||
|
||||
def connection(module):
|
||||
global _DEVICE_CONNECTION
|
||||
if not _DEVICE_CONNECTION:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue